Expire WordPress Post After Specific Time

Prem Tiwari - - WordPress Snippets


I am writing this snippets hacks because of getting more request from my blog readers. This snippets is very useful when you are running a promotional coupons code for your products and you want to it automatically expire after a certain period of time. So you can remove it automatically using this code.

Go to your default WordPress loop page and replace with this code:

Do like & share with your friends if like this tutorials. Thank you for giving time on freewebmentor community. Please don’t forget to subscribe our newsletter or join us on Facebook to be the first to learn the next great thing from freewebmentor.


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , ,

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.