Thread Starter
dsg257
(@dsg257)
was trying his bit of code
[events_list tags=”21″ category=”16″ ]<h3>#_EVENTLINK #_LOCATIONNAME on #_EVENTDATES @ #_EVENTTIMES</h3>
[/events_list] but it shows all the events
removing the category does the same
is it possible to filter the events by both category and tag using Shortcodes for an output of 1 category in a given tag
i know it works in the calendar by selecting tag and category gives the desired output but i require it in a list format
Any help would be great
just to confirm, the above shortcode is working however it does not give you the desired format like
TAG 1 TITLE
CAT 1
Event 1
Event 2
TAG 2 TITLE
CAT 2
Event 1
Event 2
Is this correct?
Thread Starter
dsg257
(@dsg257)
Thanks for the reply the Tag code does not seem to work
[events_list tags=”21″ category=”16″ ]<h3>#_EVENTLINK #_LOCATIONNAME on #_EVENTDATES @ #_EVENTTIMES</h3>
this code gives me all the events
where I wish the events in cat 16 and tag 21
the next would be cat 17 and tag 21
I don’t know if you can filter using the tags Shortcode the same as categories
what I require is
tag 1
cat 1
event1
event 2
tag1
cat2
event 1
event 2
so the page is sorted by category under the tag
my original was to show an event if it is in both categoeries 1 and 2
but thought it might be easier to use a tag and have cat1 and tag1
If that makes sense
Thanks
Thread Starter
dsg257
(@dsg257)
to see the output on my test site and the code it is here
on my test site
the events ending in a 1 are in category 19 and tag 19
I see, I think the reason why it’s not working because the tags search attribute is wrong and it should be ‘tag’ instead of ‘tags’ – http://wp-events-plugin.com/documentation/event-search-attributes/