I picked the poison and hardcoded in a dropdown to capture user input so ive now got a form that posts 2 variables… $eventTitle & $eventState. I would like to filter ALL events on these two variables.
I can manage the State matching with categories but i will need to match the event title as well and im not able to use categories for this as they change often. So how can I filter/search by title & a category?
Search by category — would probably require a custom sql query.
Search by title can be done with the event search shortcode…that’s probably not specifically what you’re looking for but, I dunno, maybe if you look into that shortcode it might give you hints about what you’re trying to do. https://eventespresso.com/wiki/shortcodes-template-variables/#event-search
Nested categories — excellent recommendation. Can add it to the feature request list.
Assigning venues to categories — I believe venues are going to be eventually made into custom post types (categories might become taxonomies), so this may be possible down the road as well.
Viewing 4 reply threads
The support post ‘URL vars’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.