Support

Home Forums Event Espresso Premium One link containing multiple categories?

One link containing multiple categories?

Posted: April 11, 2016 at 5:07 pm


malctrainingevents

April 11, 2016 at 5:07 pm

Hi,

I know I can use the category link to show a list of all events in that category. For example http://www.mysite.com/event-category/category1/

Now, I would like to create a link that contains more than one category and displays a list of events that are in one or more of those categories.

For WordPress categories I found that this link format shows posts that are in one or more of the linked categories ID’s: http://site.com/blog/?cat=1&2

Would it be possible to do the same for EE categories?

Thanks,
Syl


Josh

  • Support Staff

April 12, 2016 at 8:59 am

Hi Syl,

Yes you can, and it allows you to show events in either category as well as only events that are in both.

So for example, this will show all events in either category-a or category-b:

http://site.com/event-category/category-a,category-b/

You can change the , to be a + to show only the events that are in both category-a and in category-b:

http://site.com/event-category/category-a+category-b/


malctrainingevents

April 12, 2016 at 12:15 pm

Awesome! Thanks 🙂


Josh

  • Support Staff

April 12, 2016 at 12:44 pm

You’re welcome.

The support post ‘One link containing 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