I am writting this snipats hacks because of getting more request from my blog readers. This snipats is very usefull 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: