Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you find solution to this? I am having this problem too

    Thread Starter Antti Koskinen

    (@kantti)

    Hi,

    Well, this is the only code I have in the functions file, but I didn’t have any comments to go along with it so I’m not quite sure anymore what it does.

    I can’t even remember where I got this.. but try it and see what happens!

    function em_wpfullcalendar_category_label($taxonomy_args,$taxonomy){
     if ( $taxonomy->name == 'event-categories'){
      $taxonomy_args['exclude'] = 'id-of-the-category';
     }
     return $taxonomy_args;
    }
    
    add_filter('wpmfc_calendar_taxonomy_args','em_wpfullcalendar_category_label',1,2);

    BR
    kantti

    Hi, thanks i have this already, it takes the excluded cateogires out of the list itself but still when you click all categories it shows all the excluded events as well

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can also try to use shortcode like [fullcalendar category=”-x”] where x is the event category id (with negative sign to exclude this category)

    Hi Angelo,

    Could you please check out my site? My dropdown is blown out and I’m not sure how to fix it. I’ve tried wrapping it in raw, I’ve tried [fullcalendar events=”events-category”]

    Now it’s encased in a white box? I’m not sure what happened. Right now I have it just as [fullcalendar].

    https://encountersociety.com/list-of-events/

    Thanks!
    Carrie

    Thread Starter Antti Koskinen

    (@kantti)

    Please start a new topic.

    BR,
    kantti

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Category dropdown problem’ is closed to new replies.