Home » Ask (Forum) » How to display Modified Post Date Instead of Published Date?

Question

How to display Modified Post Date Instead of Published Date?

in any theme, kindly let me know where to implement and the code.

Jul 19, 2016 (5 months ago) - Posted by 1 Comment

One Answer

  1. Support says:

    Hello,
    For display modified post date, try this code:

    Last modified: <?php the_modified_date(); ?>

    You can *find this code and change it.

    <?php the_time('M j, Y') ?>

    *If you mean for all theme, I’n not sure if the theme development using the same code date code for all theme or not. I just theme support in here not the theme development.

    Team Support,
    bikinwebsite.com

    Team Support

Your Answer

Your email address will not be published. Required fields are marked *