Home › Forums › Back End › WordPress – Hide posts based on custom date field › Reply To: WordPress – Hide posts based on custom date field
December 10, 2014 at 11:02 am
#190532
Participant
Thank you for the replay,
I am sorry I didn’t explain my self properly. When I add date to my custom field “way_end_date” I need the post to show on the front for 14 days then stop showing, but all other posts what don’t have any date in the custom field need to still show.
For example I have post-1 post-2 and post-3 they all show in the front. now I add today’s date to post-2 and it will show for next 14 days then will be hidden from the front, but post-1 and post-3 continue to show.
I’m terrible in explaining whats in my head.
This is what I have now: it still doesn’t work!