WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Show original post date?

[Resolved] Show original post date?

  • I use a ‘last updated’ date throughout my site. However, I would also like to show the date a post was first published.

    How can I do that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    @bcworkz

    Your template probably is using a tag like the_modified_date() to display the last updated date. Perhaps like this:
    Post last updated on <?php the_modified_date(); ?><br>

    You will want to add in the tag the_date() , perhaps like this:
    Post last updated on <?php the_modified_date(); ?> First published on <?php the_date(); ?><br>

    Or maybe the other way around, whatever works for you.

    Thanks, that works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Show original post date?’ is closed to new replies.
Skip to toolbar