[resolved] Display the date post was last updated (3 posts)

  1. ishaangarg
    Posted 3 years ago #

    Posts on my blog display what day that post was originally published. Is there any way to display future revisions, like "The last time the post was updated"?

    Is it specific to themes or is there any plugin/workaround to do that?

    Blog: http://trickvilla.com

    Thanks in advance

  2. Big Bagel
    Posted 3 years ago #

    <php the_modified_time() ?>

    Used in the loop, that will display what you want. Exactly what file in your theme you add it to depends on what theme you're using and where you want it to show. Currently, it looks like your theme uses this in index.php and single.php to show the date:

    <?php the_time('j F Y'); ?>

    Maybe change it to this:

    <?php the_time('j F Y'); ?> Last modified: <?php the_modified_time('j F Y') ?>


  3. ishaangarg
    Posted 3 years ago #

    Thanks for the input Bagel, added that ;)

Topic Closed

This topic has been closed to new replies.

About this Topic