Is there an example of how a user could click a button to filter an event_list by categories?
Similar in style to the custom drop down, but dynamically changing the variable in the event_list category_id to control what is displayed.
I can’t seem to get this one figured out, so any pointers will be appreciated.
We don’t have any examples of this, but I would say you will need some custom functions and to use AJAX to enable it.
I would probably start by making a custom shortcode to display a dropdown box and the event list, then on the dropdown select I would use javascript to clear out the event list and send the category ID to a php function which will return a do_shortcode with the event list with the correct category. Something along those lines.
The support post ‘dynamic button to filter event_list by category’ 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.