Home Forums Event Espresso Premium Venue filter in EE Events Table View Template

Venue filter in EE Events Table View Template

Posted: March 11, 2023 at 12:48 am


March 11, 2023 at 12:48 am

I want to add a new venue filter in the Events Table View Template. There is a course filter but I also want to have a venue filter that has all the venues in it to filter out the events accordingly.
Is there any way to do it?


  • Support Staff

March 13, 2023 at 8:59 am

Hi Mark,

It is possible but you’ll need to modifying the template to add your own filter and also include your own JS to filter the rows.

You can copy \eea-events-table-template\templates\espresso-events-table-template.template.php into the root directory of your child theme and add your additional filter to the code there.

Then use wp_add_inline_script() to hook into the espresso_events_table_template JS file and add your own custom JS there. You can use the content \eea-events-table-template\scripts\espresso_events_table_template.js as a starter for your code and add that snippt to a custom functions plugin on your site, we have some documentation on creating one here:


March 21, 2023 at 12:51 am

I have added the filter but I think it is not working well. Now the issue is if I set the limit to 30 in the shortcode and search for some specific category that has only one record in the first 30 events record the pagination still shows the 3 pagination links and I don’t know why. This is all happening when I don’t have my custom filter applied, and If I applied my custom venue filter applied to the template then it also causes filter out all the records in the first 30 records irrespective of the category selected in the category filter.

The shortcode I am using is [ESPRESSO_EVENTS_TABLE_TEMPLATE limit=30 table_search=false]
Screenshot 1
And here is the 2nd screenshot which is showing if I navigate to the 2nd or 3rd page then irrespective of the filter applied template shows all the records.
Remember I haven’t applied my custom filter in any search which screenshot has been shared with you.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso