How to Show Last Update Date in WordPress Post
Hello everyone in this article I will share you very interesting topic “How to Show Last Update Date in WordPress Post” because some time notice all the WordPress free and paid theme show to publish date in WordPress post, so whenever you will update article after a specific time than have you ever noticed that article get updated but on more common issue its still show publish date on your blog post.
So if the visitor comes and reads your article they notice that an article is not updated its publish since month or year ago, ever you have updated your article today.
The same problem with occur with me also, I always update my blog article with time to time according to the google panda update, that frequently updated article or post may increase the chance of Google ranking so, when I saw the problem I just modified following line of code into our theme and now show updated date in WordPress post.
How to Show Last Update Date in WordPress Post?
- Just go to your WordPress theme directory which is currently active
- You may go like : projectname/wp-content/themes/single.php
- Now just add the following line where you want to show updated date for your WordPress post
<span class="update"><strong>Updated : </strong></span><span class="date"><?php the_modified_date('d M, Y'); ?></span>
These are very basic and no one mention on that things but really spoil users experinces, so as we know that small mistakes make it larger.
“Hope This help”