Support

Home Forums Event Espresso Premium How to display events that are tagged with multiple categories?

How to display events that are tagged with multiple categories?

Posted: May 16, 2016 at 7:04 pm


questira

May 16, 2016 at 7:04 pm

Hello. I’m new to EE and have inherited a site with several hundred events already built out. A sizable collection of these events are assigned to multiple categories. I’m attempting to create a page that displays all events from a specific category. When queried, events that have more than one category assigned do not show up in their single category query. I’ve tried the shortcodes, as well as a regular WordPress category queries to no avail.

How can I show results that include events that have multiple categories?


Tony

  • Support Staff

May 17, 2016 at 2:40 am

Hi there,

Using something like [ESPRESSO_EVENTS category_slug=the-event-category] should display the events within the category slug you provided regardless of how many other categories it is in.

Can you post an example of the shortcode you are using and the page it is used on please?


questira

May 17, 2016 at 6:55 am

Thanks for your help.

Here’s a codepen if you need to see the page template market (pretty standard):

http://codepen.io/jolva/pen/regGMN

This is the page in question: http://dev.questira.com/event-test/ (password: dev)

This is the shortcode, which I’ve tried directly in the template via do_shortcode, as well as running it in a page:

[ESPRESSO_EVENTS category_slug=quest-webinars]


questira

May 17, 2016 at 7:23 am

Hmm, seems to work with other categories, just not the category I was testing with. Must be a data problem. I’ll take it from here – thanks for the help!

The support post ‘How to display events that are tagged with 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  questira 3 years, 5 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!