Support

Home Forums Event Espresso Premium Category Filters

Category Filters

Posted: April 22, 2021 at 12:44 pm


wnyhe

April 22, 2021 at 12:44 pm

I would like to use the table shortcode to include multiple categories, therefore, hiding one category on a table on one page.
I read through the support forum and one said that with a recent release this is available?


Tony

  • Support Staff

April 23, 2021 at 5:41 am

Hi there,

As long as you have the latest version of Event Espresso cor and the table view add-on you should be able to do this if you separate your category slugs with a comma, so something like:

[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=cat-slug-1,cat-slug-2]

Should show the events assigned to either cat-slug-1 or cat-slug-2.

Is that what you are looking for?


wnyhe

April 23, 2021 at 7:42 am

Hi tony
I have 4.10.6p
do I need to go to .10? The documentation didn’t specify this new feature.
I tried everything on the current version as you said and it didn’t work. We did a work around and assigned public and private categories. But the more important issue is in another post about an error I’m getting when I filter events in admin view.


Tony

  • Support Staff

April 23, 2021 at 8:17 am

4.10.8 included the changes for this this:

https://eventespresso.com/wiki/ee4-changelog/#4.10.8

Allow multiple category slugs to be passed to [ESPRESSO_EVENTS category_slug=’slug-1, slug2′]

The processing for the category slugs on that query is shared so it’s not specifically a feature of the events table.

But the more important issue is in another post about an error I’m getting when I filter events in admin view.

Yeah, I saw that one and have replied here:

https://eventespresso.com/topic/error-when-sorting-events-in-events-overview/#post-323341

The support post ‘Category Filters’ 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.

Do NOT follow this link or you will be banned from the site!