Display posts based on Custom Field Date entry
-
I am trying to create a loop where I display posts based on a date entry in a custom field. I want to display all posts that occur after today’s date (as defined in the custom field). I have the following code in place but it doesn’t seem to be working.
I have made sure that the date format in the custom field is the same as I have the current date as stated in the code.
The problem is, it is displaying EVERY post in my category instead of only the ones that occur in the future (based on custom field).
This site is on a private server and is not accessible from outside our network.
The topic ‘Display posts based on Custom Field Date entry’ is closed to new replies.