Home › Forums › Calendar Products › Community Events › Categories Displayed
- This topic has 6 replies, 4 voices, and was last updated 9 years, 1 month ago by
Michael McLaughlin.
-
AuthorPosts
-
February 1, 2017 at 6:31 am #1227459
Michael McLaughlin
ParticipantIs there a way to control what categories are displayed on the community event submission form? I have several categories in place for the calendar, but only a few specifically relate to the community events. I’d like only the categories for community events to show up on the submission form. Any ideas on how to achieve this? Is there a admin setting I’m missing somewhere?
Thanks.
February 2, 2017 at 11:47 am #1228439Nico
MemberHi there @halibutblue,
Thanks for getting in touch with us! I can help you here 🙂
First of all let me say that you are not missing something here, there’s basically no setting for this. If you want to limit the categories, the easier option is hide the non-community categories by CSS. Does that sound like something that would work? How many total categories do you have in the site and how many of those are community related?
Please let me know about it and I’ll try to help out,
Best,
NicoFebruary 2, 2017 at 12:03 pm #1228450Michael McLaughlin
ParticipantHey Nico,
Thanks! I just wanted to be sure there wasn’t an easier way to do it. My next option was to edit the css to get rid of the extras, so I’m glad that lines up with your recommendations. I should be okay to do this myself. I’ll let you know if I run into any issues. Thanks for the help.
February 2, 2017 at 1:33 pm #1228530Michael McLaughlin
ParticipantI got the extra categories commented out. There’s 1 parent category & 5 child ones related to it that I want to be shown. When I go to the form now, the only item that shows up in the categories box is the prompt to click to see all categories. Then I have to click on the parent category to show the children. How can I get rid of the “see all” prompt & just show at least the parent category?
See screenshots for reference. Thanks!
February 6, 2017 at 2:20 pm #1230198Nico
MemberHi there,
Good job so far! You can extend the number of categories shown in the taxonomy section. Paste the code below in your theme’s (or child theme’s) functions.php file and let me know if it works for you:
add_filter( 'tribe_events_community_category_dropdown_shown_item_count', function ( $count ) { return 50; } );
Please let me know if it helps,
Best,
NicoFebruary 28, 2017 at 8:35 am #1246970Support 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 -
AuthorPosts
- The topic ‘Categories Displayed’ is closed to new replies.
