Support

Home Forums Event Espresso Premium Filtering Events by Multiple Categories

Filtering Events by Multiple Categories

Posted: August 9, 2024 at 3:39 am

Viewing 5 reply threads


Mark

August 9, 2024 at 3:39 am

I am using event espresso 5 , I want to show events of only 2 specific categories, how can I use. category_slugs which I want to combine with AND operator are granville-richmond,efa . I tried to use [ESPRESSO_EVENTS category_slug=”efa,granville-richmond”] but I think its enlisting with OR operator.
Just to rephrase, I want to enlist only those events which falls in category1 AND in categories2. Is there any default method to use if not can you pls help how can I do it?
Thank you so much.


Sam

  • Support Staff

August 9, 2024 at 5:35 am

Hi Mark,

You are using the inverted commas in the shortcode:

You can remove them and can add just the code like this for a better result:

[ESPRESSO_EVENTS category_slug=efa,granville-richmond]

Hope that helps.


Mark

August 10, 2024 at 2:49 am

Hi Admin,

I tried without the double quote and tested on the below page, and you can also check the results. Its not listing events, which falls in only both categories i.e. efa,granville-richmond

URL: https://vancouverfirstaid.ca/testing-slugs/
Password: links2323A.
front view of the page with issue enlisted: https://app.screencast.com/WodnCjnmoVpYR
Backend view how we used the shortcode: https://app.screencast.com/n0mT6n7XFtz4d

Note: Just to confirm in our case: I want to enlist only those events which falls in category efa AND in granville-richmond . Currently its enlistign all the events of efa and all the events of granville-richmond

If you need login of the website I can provide you as well.

I hope you can completely understand the problem now,

thanks


Rio

  • Support Staff

August 11, 2024 at 11:07 pm

Hello,

Can you fill this form so we can look on it?
https://eventespresso.com/send-login-details/

thanks.


Mark

August 15, 2024 at 3:10 am

Hello Rio,
I have replyed you via email


Sam

  • Support Staff

August 15, 2024 at 4:21 am

Hi Mark,

I’ve replied to your email. Please continue over there.

Viewing 5 reply threads

The support post ‘Filtering Events by Multiple Categories’ 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