How to Display the Last Updated Date on Your Blog Posts

Written by Jean Galea
Written by Jean Galea
Displaying a date on your blog posts is recommended, both for search engines and also for your audience. Most blogs display the post publish date, which you would think makes sense. But I think there's a better way of doing it, and that is by displaying the last updated date.

Partner Sponsors

BionicWP

Full disclosure: If you purchase through a link on our site, we may earn a commission. Learn more.

Displaying a date on your blog posts is recommended, both for search engines and also for your audience.

Most blogs display the post publish date, which you would think makes sense. But I think there’s a better way of doing it, and that is by displaying the last updated date.

A post may have been published 2 years ago but in the meantime you’d have been updating it regularly. Why should it show up as being an ‘old post’ in Google SERPs? You want people to note that it is being regularly updated and thus the content is still fresh.

So how can we display the last updated date on our blog posts?

If using Genesis, this is the snippet you need to place in your functions.php file:

https://gist.github.com/jgalea/6231591

For other themes, the process will be very similar, but you won’t be using the filter I used above which is Genesis-specific.

This article was filed in our , archives.
Written by Jean Galea
Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

In this article

Discover More

3 Responses

  1. Hi, many thanks for your posts it’s really helpful in terms of SEO. I only have a little problem and i’m wondering if you can help me. I’m using the italian translation and this is what i see after using your code “on febbraio 2nd” is it possible to shot the date ina different format? for example “on 2 febbraio”?? many thanks for your help

Share Your Thoughts

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

New discoveries, every week.
Join thousands of designers, developers, and builders that come to WP Mayor to find the best guides, tools, and services for their next website. One email, once a week.
WP Mayor Newsletter

Claim Your Free Website Tip 👇

Leave your name, email and website URL below to receive one actionable improvement tip tailored just for your website within the next 24 hours.

"They identified areas for improvement that we had not previously considered." - Elliot

By providing your information, you'll also be subscribing to our weekly newsletter packed with exclusive content and insights. You can unsubscribe at any time with just one click.

What's missing?