Home › Forums › Calendar Products › Community Events › Exclude Certain Categories On Community Add Page
- This topic has 5 replies, 2 voices, and was last updated 9 years, 10 months ago by Casey.
-
AuthorPosts
-
June 5, 2014 at 8:29 am #206554benjduffParticipant
Hello I’d like to exclude certain categories on http://autismallianceofmichigan.org/events/community/add
Is this possible, thanks!
June 6, 2014 at 7:21 am #209089CaseyParticipantbenjduff,
Thanks for getting in touch! You should be able to hide certain categories by pasting the following snippet into your theme’s functions.php file: https://gist.github.com/ckpicker/cbc1bc4d798604d8eb77A couple of notes:
- You’ll need to modify the array of excluded Category IDs to exclude your desired items
- This will also hide Category checkboxes on the Community ‘Edit Event’ screen
Give that a try and let me know if that does the trick. Thanks! π
-Casey-
June 10, 2014 at 8:21 am #216869benjduffParticipantSorry, not working. Also on my dashboard the event calendar controls don’t show up.
thank you
June 10, 2014 at 6:14 pm #217720CaseyParticipantSorry, not working.
Can you elaborate a bit? Did you paste the code into your theme’s functions.php file and modify the IDs to the Event Category IDs that you’d like to exclude?
Also on my dashboard the event calendar controls donβt show up.
Are you referring to the WordPress Dashboard? If so, then I’m not sure what you’re referring to, since our plugin doesn’t add any widgets to the WordPress dashboard. Could you explain this a bit more also, or include a screenshot, so I can investigate further? Thanks! π
-Casey-
June 11, 2014 at 6:55 am #218722benjduffParticipantHey Casey, read through some older posts and fixed it. Thanks again!
June 11, 2014 at 8:35 am #218874CaseyParticipantGreat! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/jw
Thanks in advance. π
Cheers,
Casey -
AuthorPosts
- The topic ‘Exclude Certain Categories On Community Add Page’ is closed to new replies.