Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
ksangoyah
tagDiv Member

I finally figured it out. It’s done through the loop-single.php file. It works great. No need to manually insert the short-code.

ksangoyah
tagDiv Member

I tried the above and it did not work. So I did the following :

Replaced <?php echo $td_mod_single->get_date(false);?> with <?php echo the_date(‘d F Y G:H:s A’); ?>

The change is made in /wp-content/themes/Newspaper/loop-single.php or in loop-single-X.php (where X is the number of the model you use).

NOTE: I’ll strongly suggest that you backup a copy of the file before modifying it.

KSangoyah

ksangoyah
tagDiv Member

Hi,

I was finally able to tweek the code and time is displaying fine along with the date. I did changed <?php echo $td_mod_single->get_date(false);?> with <?php echo the_date(‘d F Y G:H:s A’); ?>, flushed teh cache and it’s working great.

Thanks for your time

KSangoyah

ksangoyah
tagDiv Member

Hi,

I have tried your suggestion but it is still not working. I disabled all plugins and reinstalled the latest theme but any luck.

Thanks,

KSangoyah

ksangoyah
tagDiv Member

Hi,

I have tried to update the loop-single.php by adding this code
<?php the_time(‘F j, Y g:i:s a’) ?>
after
<?php echo $td_mod_single->get_date(false);?>

Is there any get_time(false) type of code that I can use to have the time displayed in the post ?

Or can you tell me what theme core file should be updating for this matter?

Thanks

KSangoyah

  • This reply was modified 9 years by ksangoyah.
  • This reply was modified 9 years by ksangoyah.
ksangoyah
tagDiv Member

I have the same issue with displaying the time on my posts. In wordpress settings are : F j, Y g:i:s a but in my posts I get the janvier 11, 2017 not the time.

I even tried to play with the php code in changing <?php echo $td_mod_single->get_date(false);?> to <?php echo $td_mod_single->get_date(true);?> or adding F j, Y g:i a as arguments: but nothing works.

URL : Guineenews

Thanks,

Ka Sangoyah

  • This reply was modified 9 years by ksangoyah. Reason: addding more information
ksangoyah
tagDiv Member

I also added <?php echo $td_mod_single->get_time(true); /?> but still no time is displaying

ksangoyah
tagDiv Member

Hi,

Thanks for the quick response. However I meant that when you display either a post (i.e.: http://guinee-news.info/penurie-de-carburant-a-coyah-a-fin-de-galere/) or a category (i.e.: http://guinee-news.info/category/interviews/), there are te following issues:

1. No Footer as in http://guinee-news.info/ (at the bottom);
2. Instead EDITOR PICKS, Weather Widget and ABOUT US are showing on the sidebar in both the post and category.

NOTE: EDITOR PICKS, Weather Widget and ABOUT US are already setup in my footer section.

Thank you,

KSangoyah

Viewing 8 posts - 1 through 8 (of 8 total)