I’ve been looking trying to find an answer as to wether it is possible to get wordpress to display if a post has just been added(published) or if it was simply updated?

(This is to add on a homepage, to differentiate between a new post and one that was updated.)

1 Answer
1

Yes.

get_post_modified_time : Retrieves the time at which the post was last modified.

Tags:

Leave a Reply

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