Home › Forums › Calendar Products › Events Calendar PRO › Is it possible to create a 'Hidden Category'
- This topic has 5 replies, 4 voices, and was last updated 9 years, 6 months ago by
Tony Bell.
-
AuthorPosts
-
October 4, 2016 at 3:44 am #1172168
Tony Bell
ParticipantIs 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
TonyOctober 4, 2016 at 4:41 am #1172190Nico
MemberHi 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,
NicoOctober 4, 2016 at 6:03 am #1172212Tony Bell
ParticipantHi 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.
October 5, 2016 at 8:53 am #1172712Nico
MemberThanks 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,
NicoOctober 27, 2016 at 9:35 am #1183798Support Droid
KeymasterHey 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 -
This reply was modified 9 years, 6 months ago by
-
AuthorPosts
- The topic ‘Is it possible to create a 'Hidden Category'’ is closed to new replies.
