Support

Home Forums Event Espresso Premium Adding Drop-down Filters for Event List

Adding Drop-down Filters for Event List

Posted: March 8, 2022 at 8:54 am

Viewing 3 reply threads


webtheorydesigns

March 8, 2022 at 8:54 am

Just wondering if you could point me in the right direction on how to add filters on the event list. I want to add a drop-down filter just like the category filter with the Venue and Month of the events.

Attaching an image on what I hope to accomplish.

EXAMPLE HERE


Tony

  • Support Staff

March 9, 2022 at 12:42 pm

Hi there,

That’s the Table View Template add-on and you can override the template by placing a copy of it within the root directory of your theme (preferably a child theme) to be able to override the output and add your own.

So copy \eea-events-table-template\templates\espresso-events-table-template.template.php into your child theme.

You can then add any additional dropdowns into that file.

That output uses JavaScript to hide/show the rows based on the select values so you’ll also need to add your own JS to do that, similar to the JS in:

\eea-events-table-template\scripts\espresso_events_table_template.js

I would use wp_add_inline_script and hook it into espresso_events_table_template to add my own custom code there.

Does that help?


webtheorydesigns

March 10, 2022 at 8:51 am

Thanks Tony. Can you point me to the link where I can hire developers for the custom code part?


Tony

  • Support Staff

March 10, 2022 at 8:56 am

Sure, we have some developers that are familiar with Event Espresso listed here:

https://eventespresso.com/developers/event-espresso-pros/

Viewing 3 reply threads

The support post ‘Adding Drop-down Filters for Event List’ 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.

Event Espresso