I have a custom field called expiry_date with a value of let's say 2010-12-11 00:00:00.
What I would like to do is, in my query loop, only return posts with this expiry_date custom field attached to posts and the following condition:
- The date in the expiry_date custom field has to be within 24 hours of expiring, if it past the current date, the post is 'expired' and will not show in the loop or if the post is within 25 hours of expiring, it will also not show etc.
Any idea at all please