Exclude Certain Categories On Community Add Page

Home Forums Calendar Products Community Events Exclude Certain Categories On Community Add Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #206554
    benjduff
    Participant

    Hello I’d like to exclude certain categories on http://autismallianceofmichigan.org/events/community/add

    Is this possible, thanks!

    #209089
    Casey
    Participant

    benjduff,
    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/cbc1bc4d798604d8eb77

    A 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-

    #216869
    benjduff
    Participant

    Sorry, not working. Also on my dashboard the event calendar controls don’t show up.

    thank you

    #217720
    Casey
    Participant

    Sorry, 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-

    #218722
    benjduff
    Participant

    Hey Casey, read through some older posts and fixed it. Thanks again!

    #218874
    Casey
    Participant

    Great! 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Exclude Certain Categories On Community Add Page’ is closed to new replies.