Post last update date

Posted in: Newspaper
Post count: 58

Hi,

how do I set the output of post’s last update date?
The original structure of the post as you know includes title, excerpt, author and date of publication. It would be great to add the last update date.

Thx.

Post count: 9
Post count: 58

Thank you,

but I said about adding not replacement.
I want new field in my output. I have a date of post and it would be great to have a new one with updated date.

Post count: 23312

Hello mrx,

If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for the message!

Post count: 58

Dear Catalin,

it’s a pity.
I was hoping you tell me where to add the code to obtain the desired solution.
Of course, you do not have much time to address the issues of each. But it would be so great.

I think a lot of buyers of your brilliant theme would be happy to know how to add another field with the date/time of the post’s update. Just add, not replace the field with the date of original publication.

Post count: 22421

Well if you want to have 2 dates show in your post, you can add the code mention in this topic without replacing the existing one https://forum.tagdiv.com/topic/how-to-make-this/
You can simply add this code:
<?php echo the_modified_date('l, F j, Y', '<div class="the-modified-date">LAST MODIFIED: ','</div>'); ?>
and place it after the get_date codee so you would have both dates. It could need a bit of css for positioning though.

Thank you!

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