Is it possible to create a 'Hidden Category'

Home Forums Calendar Products Events Calendar PRO Is it possible to create a 'Hidden Category'

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1172168
    Tony Bell
    Participant

    Is it possible to create ‘hidden categories’? I have a category called ‘Featured Events’ which we use to highlight our advertiser’s events. Because it is a public category anyone adding their events through the Community module can tag their events as ‘Featured’.

    We can manually un-tag these as part of the approval process but there is nothing to stop and end user re-categorising their event.

    A hidden category would be ideal unless you know of another way to achieve our end?

    Thanks in advance
    Tony

    #1172190
    Nico
    Member

    Hi there Tony,

    Thanks for getting in touch with us! I can help you on this one 🙂

    I think the simplest way of doing this is to hide the category from the submission form by a CSS snippet like the following:

    /* Tribe, hide a specific category in the submission form */
    body.tribe_community_edit #event-categories .tribe_events_cat-36 {
    display: none;
    }

    Note: you’ll need to replace the category ID (’36’) in the code for the one corresponding to your featured category. You can see the ID of the category in the URL when you are editing it in the back-end.

    Please let me know if this works for you,
    Best,
    Nico

    #1172212
    Tony Bell
    Participant

    Hi Nico, thank you for your prompt response.

    I added the snippet to style.css and edited the category id but the ‘Featured’ category is still displayed to community event editors.

    Tony

    • This reply was modified 9 years, 6 months ago by Tony Bell.
    #1172712
    Nico
    Member

    Thanks for the heads-up Tony!

    Can you please share a link with me to the submissions form so I can take a look? I see the live site is linked and you need to be logged in to create an event. If there’s no staging/test site were I can publicly view the submission form then please send me login information (in a private reply) so I can take a look.

    Thanks,
    Nico

    #1183798
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to create a 'Hidden Category'’ is closed to new replies.