Restricting Categories on Add Event

Home Forums Calendar Products Community Events Restricting Categories on Add Event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18739
    Fred McNaughton
    Participant

    I have 4 total categories in my events calendar, but only want the community to add to one specific category. How might I do this?

    #18763
    Jonah
    Participant

    Hi Brian,

    We don’t have a filter for this now but I’ve just created an issue to be able to do this in a future version. For now the easiest way to do it is to hide the options via CSS like so:

    #event-categories #tribe_events_cat-24,
    #event-categories #tribe_events_cat-31 {
    display: none;
    }

    Replace the numbers with the id’s of the categories you want to hide. You can add this to your themes style.css file or the Community plugin’s CSS by making a copy of /wp-content/plugins/the-events-calendar-community-events/resources/tribe-events-community.css and placing in an ‘events/community’ folder within your theme.

    I hope that helps!

    #976729
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Restricting Categories on Add Event’ is closed to new replies.