M Schenkel
M Schenkel

Reputation: 6364

Determine date/time of original post

Is there a way to determine the original date/time of a Wordpress blog post?

Take for example this blog post. There is no way to determine the date/time of the original posting. However if you leave a comment then the date/time it was left is published.

Upvotes: 0

Views: 296

Answers (2)

tollmanz
tollmanz

Reputation: 3223

If you are asking how to show the date/time on a page, this is absolutely possible. You can use the following code to display it. Just paste this code in the loop that is used in the page.php file of your theme

<?php the_time('F jS, Y') ?>

In order to style the date as you wish, see this page: http://codex.wordpress.org/Formatting_Date_and_Time

Upvotes: 0

JohnD
JohnD

Reputation: 4002

That's not a blog "post", but a page. It doesn't share the date it was posted because it's meant to act as a web page that can change over time, not a post with information that may correlate to a single point in time.

Upvotes: 2

Related Questions