I will be publishing blog posts at midnight every day, and will be placing a button at the bottom of each post for readers to “mark as read”. However, I only want this button to show on the latest daily post. Here’s the function that I would like to create:
if post is the latest (most recent) post
// do something
Any clues?
Thanks!