Events Made Easy Forums Generic notcategory not working in shortcode

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #57507
    Anonymous
    Inactive

    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?

    #57508
    Franky
    Keymaster

    I’m guessing you want to exclude events from category 33 AND 37, not 33 OR 37 …
    So you should use 33+37

    #57511
    Anonymous
    Inactive

    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…

    #57513
    Franky
    Keymaster

    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/

    #57517
    Anonymous
    Inactive

    Pretty funny. Thanks for looking into and fixing it Franky…

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top