Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Display a category by venue | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Display a category by venue

Display a category by venue

Posted: October 31, 2012 at 8:19 am

Viewing 13 reply threads


bins

October 31, 2012 at 8:19 am

I have venues setup and types of events by Category. I would like to list events in a category, by venue. I though something like: [ESPRESSO_VENUE_EVENTS id=1 event_category_id=”public”] might work, but, alas, no. Can anyone point me in the right direction? Ideally, I would like to use my newly created [ESPRESSO_VENUE_EVENTS id=1 show_only_dates=true] as a base!

  • This topic was modified 12 years, 3 months ago by bins.


bins

November 6, 2012 at 5:14 am

Anyone?


Jonathan Wilson

  • Support Staff

November 6, 2012 at 9:04 am

Hello,

Sorry for the delay. The best way to do this would probably be to add categories for your venues also and use the [EVENT_LIST category_identifier=your_category_identifier] shortcode.


bins

November 6, 2012 at 2:08 pm

Jonathan,

At each event, I have public tickets and dealer space, which I have set up as categories.

I need them to be displayed separately, so as not to confuse the two.

I see that I can allocate more than one category to an event, but I cannot work out how to show events by venue. Using [EVENT_LIST category_identifier=your_category_identifier] can I indicate 2 categories?


Jonathan Wilson

  • Support Staff

November 6, 2012 at 2:26 pm

Yes, you would enter both Category Identifiers.
Like so: [EVENT_LIST category_identifier="youth","adult"]


bins

November 6, 2012 at 3:17 pm

Excellent!!!!

Thanks.


bins

November 6, 2012 at 3:32 pm

Jonathan,

It looks like [EVENT_LIST category_identifier=”youth”,”adult”] will display all items that are in ‘youth’ and ‘adult’.

I want to only show items that are only in both, removing anything that only appears in one category.


Jonathan Wilson

  • Support Staff

November 6, 2012 at 4:27 pm

Ah, sorry about that.

Let me discuss this with our developers and get back to you on it.


bins

November 7, 2012 at 2:18 am

No problem – thanks for the help.


Chris Reynolds

  • Support Staff

November 7, 2012 at 2:12 pm

This hasn’t been tested, but you could try altering the shortcode to:

 [EVENT_LIST category_identifier="youth" AND "adult"]

or

 [EVENT_LIST category_identifier="'youth' AND 'adult'"]

Otherwise, you might need to create a custom SQL query to do what you need it to do.


bins

November 8, 2012 at 1:31 am

[EVENT_LIST category_identifier=”youth” AND “adult”]

Shows everything

[EVENT_LIST category_identifier=”‘youth’ AND ‘adult'”]

Shows “No events available…”


Dean

  • Support Staff

November 8, 2012 at 5:44 am

Though not an ideal workaround, you could attach a third category to the events that have two and show events by that category. Otherwise I think Chris is right in that a custom SQL search will be needed.


Jonathan Wilson

  • Support Staff

November 8, 2012 at 4:01 pm

I tested what Chris suggested, and the [EVENT_LIST category_identifier="youth" AND "adult"] shortcode worked for me. The other didn’t.

Bins, were you able to get the results you were looking for?


bins

November 9, 2012 at 6:23 am

Alas, no, I cannot get it to work!

By switching the categories around I noticed that it only shows the first and not the second!

Viewing 13 reply threads

The support post ‘Display a category by venue’ 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 - Staging Server