Create a Dynamic Filter Showing Posts of Numeric Value
-
As you may know, all of the typical solutions for displaying upcoming events in WordPress are awful, so I’m accomplishing it with simple custom fields. For each event the site admin will enter a Numeric date “YYYYMMDD” in the back end.
What I need to find out is how to code in PHP for the script to first get php:the_date <‘YYYYMMDD’> and then have WordPress filter events dynamically, only displaying posts that have a value greater than or equal to the numeric value printed (which would be the YYYYMMDD format of “today” which is pulled in via PHP:the_date…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Create a Dynamic Filter Showing Posts of Numeric Value’ is closed to new replies.