Could you please help me?
I just need an “if” statement in php for wordpress, where I can make certain posts display only if the date of the post is greater than the current date.
This is for future posts, listed on the homepage with their future dates. I do not want to show any post that is not in the present or future (i.e. any posts that have a timestamp of before today’s date).
Thank you very much!
- The topic ‘Please Help – current_time great or equal to post_date’ is closed to new replies.