- This topic has 4 replies, 2 voices, and was last updated 6 years, 9 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › notcategory not working in shortcode
Tagged: notcategory
Hi Franky —
At https://neohgolf.com/tournament-calendar/ I have a calendar shortcode that should be blocking the events of category 37 (Junior Tournaments, which I’m just starting to list).
But on July 28-29 (a recurring event), the only junior event I’ve put in thus far is still showing up: CMG Cleveland Junior Championship
I’m using the following shortcode to call the calendar there:
[events_calendar notcategory=33,37 full=1 scope=future]
Any ideas as to why the notcategory might not be working?
I’m guessing you want to exclude events from category 33 AND 37, not 33 OR 37 …
So you should use 33+37
I tried both commas and + between each event category with no difference in result. It’s something besides that.
But I suppose a work-around is to use category= and list them all out instead of notcategory= for the couple I don’t use. I will do that for now. Thx…
Well, in fact, after you said it still didn’t work, I tried for myself and indeed, there’s a bug in eme_calendar.php (nobody has ever reported that, it should’ve been in for quite some time …).
This is the fix (1-word typo fix in fact):
https://plugins.trac.wordpress.org/changeset/1820880/
Pretty funny. Thanks for looking into and fixing it Franky…