Last Modified Date

Posted in: Newspaper
Post count: 45

Hi,
I’ve added the following code
<?php echo the_modified_date(‘l, F j, Y’, ‘<div class=”the-modified-date”>LAST MODIFIED: ‘,'</div>’); ?>
into loop-single-5.php, changing the get_date row with the above one.
The result is according to my choice, as you can see here:

http://www.tycoonzfitness.com/physical-fitness-and-benefits/

But also want to change it on the blocks: I’m using the block 5 on my home page:

http://www.tycoonzfitness.com/

Regards

Post count: 6535

Hi

The date for posts displayed on modules is generated in td_module.php: http://screencast.com/t/9HDovxc2pyx You can modify get_date() function if you want to change the date for all modules or you can create a new function and call it td_module_3.php file which is used to render posts for block 5: http://screencast.com/t/ybRVLIYDsRyi

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.