I use this code for show updated post. (if post updated show this image).

<?php if (get_the_modified_time('U') > get_the_time('U')) { ?>
 <img class="update" src="<?php bloginfo('template_url'); ?>/images/update.png" alt="Updated">

Now i want after 5 day this “Updated image” deleted from post. and when i again update post this image again add to post …(repeat this action).

How do this ?


Read more here: Delete “updated” image after 5 day WordPress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: