Hello,
We have a shortcode working well limiting the results with a tag on a page that matches the tag, however, on pages where the tag doesn’t match, it shows all the events instead of the desired behavior, which is none.
We’re using this code: do_shortcode( ‘[tribe_events_list tag=”‘.get_the_slug().'” limit=”3″]’ ), where the “get_the_slug()” piece matches the tag entered in the Event.
To summarize, this works brilliantly on pages where there are corresponding events that match the page slug, but on the rest of the pages, it displays all events. We want it to display none where there are no Events that are tagged with the page slug that the shortcode is on.
Make sense?
Thanks,