How to Display Last Updated Date in WordPress Post? If your blog about lifestyle, foods, or sport, I think it was ok if you not show the last update date content because this niche no need to update the content often. But, if your blog about technologies or tutorials, you need to update your content regularly to make it relevant all of the time. So, showing the last update date on your post is quite important.
What the benefit to show last update date?
People want to read a relevant article and still working at that time. Who wants to read the outdated content? Right? So, the benefit is, your article maybe get more clicks. Do not worry. Based on my research, it will not take effect on your SEO and Google still understand what you do. Your original post update still available. You just add the last update date only as a reference for your audiences.
Before we start this tutorial, we want to inform, every code is different for every theme. So, in this tutorial, I will show you all codes which you must try and error which one code compatible with your theme.
Display Last Updated Date in WordPress Post
Method 1: You will need to add this code to your theme’s functions.php file
Code 1 – For Universal Theme
If the code above not working for you, consider using the code below
Code 2 – For Universal Theme
If the code above not working for you, consider using the code below
Code 3 – For Universal Theme
If the code above not working for you, consider using the code below
Code 4 – For Genesis Theme
Code 5 – For Elegant Theme
For theme from ElegantTheme especially for Divi or Extra theme
COde 6 – For Astra Theme
Method 2: Using Plugin
Using plugin is the good method for you because it compatible for any theme. But the weakness is, after four or five years, the plugin will not update anymore it will get trouble for you. If you want to use the plugin, please consider using Post Update Date plugin (free plugin) or you can use Update WordPress Post/Page plugin (paid plugin). Here, I recommend you to use paid plugin because you can get support any times.
Conclusion
In this article, you have learned how to display last update date in WordPress post. Hope with this function, your article will look more fresh and relevant all of times.
0 Comments