Posted: 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!
|
|
Anyone? |
Hello, Sorry for the delay. The best way to do this would probably be to add categories for your venues also and use the |
|
|
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? |
Yes, you would enter both Category Identifiers. |
|
|
Excellent!!!! Thanks. |
|
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. |
Ah, sorry about that. Let me discuss this with our developers and get back to you on it. |
|
|
No problem – thanks for the help. |
This hasn’t been tested, but you could try altering the shortcode to:
or
Otherwise, you might need to create a custom SQL query to do what you need it to do. |
|
|
[EVENT_LIST category_identifier=”youth” AND “adult”] Shows everything [EVENT_LIST category_identifier=”‘youth’ AND ‘adult'”] Shows “No events available…” |
|
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. |
I tested what Chris suggested, and the Bins, were you able to get the results you were looking for? |
|
|
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! |
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.