Support » Fixing WordPress » How to show the date and time of the latest post on headline?

  • Anyone has an idea of how to show the date and time of the latest post on headline? I would like to display the latest update time of the entire site upfront. Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeah, I’d like to know that too, please, does anyone know?

    Hey, I just figured out.

    Open the file with the code of the page you want the date in in an editor and copy this code where the date shall be shown:

    <?php the_post;
          the_time('j. F y');
    ?>

    Remember to adjust the date format to your needs, though. Find more info about that in this wordpress article.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show the date and time of the latest post on headline?’ is closed to new replies.