How to Show the Last Updated Post Date on Your Posts

24
30
15.6K followers

It's time for your daily dose of Wordpress Wisdom! In today's quick tutorial I'll be showing you how you can easily display the "Last Updated" date for your posts using some simple CSS code! In the past, I had used a simple plugin for this, but as I was looking through the Generate Press documentation I found some simple code you can add that makes needing a plugin a thing of the past!

Let's dive into the video and I'll show you how!

Here's the CSS code you'll be copying and pasting into your Customizer:

.posted-on .updated {
display: inline-block;
}

.posted-on .updated + .entry-date {
display: none;
}

.posted-on .updated:before {
content: "Last Updated ";
}

As always, feel free to share this video to anyone needing help with this. If you have any Wordpress related questions that you'd like to see me create a tutorial for send me a private message or leave me a message on my profile.

If you want to check out all my Wordpress Wisdom tutorials feel free to head over to my blog.

Be productive!
Get your hands dirty!
Create that content!
Become the master of Wordpress you know you can be!

24
30

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

30

Hey Eric, I came back to this tutorial as I was updating my content. May I know how we can also show "published" date before the "last updated" date? I guess it's going to be a CSS code before "last updated" right?

Thanks:).

By default it will show the date it was published. This code is for replacing that with the date it was last updated so that updated content doesn’t look old and dated. I’m not sure why you’d want both, but I’m sure it can be done.

Got it Eric, 😊

1

I think one or the other is sufficient. If you original published date is from a ways back it can give the impression that the content is dated, so that’s why the updated date is helpful. πŸ‘πŸΌ

1

Excellent πŸ‘

Great, thanks
Steve

1

Glad you enjoyed it. πŸ‘πŸΌ

Great wisdom Bro!!

πŸ‘πŸ‘

2

You're very welcome!

1

Keep em coming buddy!!

1

Thanks for this,did not knew that one 😊

1

Glad you enjoyed this!

Cool, Eric!

These days, for those of us who do not have a programming background, AI is helping create the code to replace a variety of plugins. 😎

Frank 🎸

1

100%. GPT is great at coming up with coding solutions for just about any theme!

1

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

Β© 2005-2026 Wealthy Affiliate
All rights reserved worldwide.

πŸ”’ Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.