Home » WordPress » Display Last Modified Date for Your WordPress Posts Without Plugin

Display Last Modified Date for Your WordPress Posts Without Plugin

Looking for display last modified date on your WordPress posts without a plugin? Then here we have a solution to do that. Most of the WordPress websites are created with a default post published data on the page. If you have a blog website and updating posts regularly also modifying the posts, then the last modified date helps with the posts. Because that helps users to know when the last modification has been done with content or code in the post.

Let me show you two methods to display the Last Modified Date on your post page.

1. Display with Default get_the_modified_date Function

By using default WordPress get_the_modified_date function, we can display the last modified date of post. Use the below code in your single.php (Single Post) between the title and content.

2. Using functions.php Display the Post Modification Date

Add the below code in your functions.php, then the last date and time will append on your above content.

Conclusion:

I hope this will help you to display the last modified date on your WordPress posts without a plugin. If you have any doubts about this topic let me know in the comment box and if you like this article share it with your friends.

Was this article helpful?

Yes No
×

How can we improve it?

×

We appreciate your helpul feedback!

Your answer will be used to improve our content. The more feedback you give us, the better our pages can be.

Follow us on social media:

Facebook Pinterest

Mraj

Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts.

One thought on “Display Last Modified Date for Your WordPress Posts Without Plugin

Leave a Reply

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

Back to top