Sunday, 25 August 2013

Update featured image before present post

Update featured image before present post

Site leases images therefore they need to be replaced once they expired.
We are planing to include the purchase date and expiration term (in days)
within the name of the image. For instance: 20130801_7_CoolBeans.png. This
says on Aug 8 2013 the image was leased and can be shown within the next
seven days. I'm new with wordpress, I have no idea where to place this
code, but yeah, the idea is to read the image name and if the post is
requested out of the image lease term we need to replace the featured
image with a default image and present the post.
Help is appreciated

No comments:

Post a Comment