Hide Event Category From Filter Bar

Home Forums Calendar Products Filter Bar Hide Event Category From Filter Bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1528768
    sm2dev
    Participant

    I am trying to have an event category only show up in the admin and be hidden in the filter bar on the front end. How can I handle this? The event category I am trying to hide is called “NJLTAP”.

    #1529531
    Courtney
    Member

    Hi Daniel

    My teammate Nico shared a snippet with another user here that should help you achieve that.

    Please refer to

    https://theeventscalendar.com/support/forums/topic/exclude-two-specific-categories-from-filter-bar-menu/#post-1134692

    Add this snippet to either your child theme’s functions.php file or use the My Custom Functions plugin. 

    Let me know if this works for you.

    Thanks
    Courtney 🙂

    #1531219
    sm2dev
    Participant

    Hi,

    Yes, that removed the respective category (NJLTAP) from the filter bar. However, that category is also displaying in the list feed, single event page, and the [tribe_events_list] shortcode. We are using tribe_get_event_categories() to pull the category list, but since we only want NJLTAP category for admin purposes, how can we hide it from those areas as well?

    Thank you.

    #1531953
    Courtney
    Member

    Hey there. I see that Victor has started helping you at https://theeventscalendar.com/support/forums/topic/hide-category-option-from-filter-bar/. I’ll close out this thread for now and let you finish up over there.

    Thanks
    Courtney 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide Event Category From Filter Bar’ is closed to new replies.