How to exclude a specific category from main events page…

Home Forums Calendar Products Events Calendar PRO How to exclude a specific category from main events page…

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1345631
    Scott Stoddard
    Participant

    I need to be able to exclude a specific category from our main events calendar, and have that category show only using the mini calendar shortcode on a specific page. How can I do that? I don’t see any options in the settings and the events page has no shortcode to tweak…

    Thanks for your help!

    #1346281
    Victor
    Member

    HiĀ Scott!

    Thanks for reaching out to us! Let me help you with this topic.

    There is no built in way to exclude a specific category from the main events calendar. However, you could achieve what you’re looking for but would require some custom coding.

    As a reference, here’s a code snippet that will exclude the categories ”meetup” and “shindig” from the month and list view:

    https://gist.github.com/elimn/c47fb3e65d437c2479bd

    You can try that by placing the code in your active theme’s functions.php file and modify it to suit your needs.

    I hope that helps! Let me know how it goes.

    Best,
    Victor

    #1356862
    Support Droid
    Keymaster

    Hey 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to exclude a specific category from main events page…’ is closed to new replies.