Support » Plugin: Events Manager » exclude category from drop down list

  • Resolved Brian


    So I am successfully excluding an event category from the full calendar and from the list of events by using [fullcalendar category=”-12″] and [events_list category=”-12″] respectively. My problem arises with the category drop down box that is a part of the full calendar. The hidden category shows in that drop down and then becomes visible.


    Is this a bug? Is there a way to correct this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl


    try this snippet

    function em_wpfullcalendar_category_label($taxonomy_args,$taxonomy){
     if ( $taxonomy->name == 'event-categories'){
      $taxonomy_args['exclude'] = '77';
     return $taxonomy_args;

    where 77 is your category id

    As for where to paste this :



    That worked brilliantly! Thanks!

    I inserted it into the functions.php of my child-theme.

    Would be nice if someone would turn this into a little plugin that hooked into settings page of wp-fullcalendar to add category exclusion there.

    Thanks again!

    Plugin Support angelo_nwl


    glad it worked.

    Hi, i still have the problem..

    I insert this code in the page:

    [fullcalendar type=”post” category=”11″]

    that only shows category 11..

    but in the categories dropdown list, appears all categories.. and your code doesn’t work.. could you please help me..



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘exclude category from drop down list’ is closed to new replies.