Hiding categories from the community submission form

Home Forums Calendar Products Community Events Hiding categories from the community submission form

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #955308
    Tony
    Participant

    Hi,

    How can we hide selected categories from the community submission form?

    #955400
    Brian
    Member

    Hi,

    Thanks for using Community Events.

    We do not have a feature to hide events in the admin.

    It could be possible with a customization.

    Following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    You can move and edit this file in your theme:

    the-events-calendar-community-events\views\community\modules\taxonomy.php

    There you can modify this function: (get_terms)

    $event_cats = get_terms( TribeEvents::TAXONOMY, array( ‘hide_empty’ => false ) );

    By adding exclude as outlined in the WordPress Codex:

    https://codex.wordpress.org/Function_Reference/get_terms

    Let me know if you have any follow up questions.

    Thanks

    #968577
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hiding categories from the community submission form’ is closed to new replies.