Exclude category from site calendar?

Home Forums Calendar Products Events Calendar PRO Exclude category from site calendar?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #821621
    User Services
    Participant

    I would like to create a calendar to highlight the open hours for a department’s page on the website. I’ve been using this technique for other departments and pages without problem, but now I’d rather not have these events included on the main site calendar, since there would be an event for practically every day of the year. Is it possible to exclude a category from the main calendar view?

    #822241
    Brian
    Member

    Hi mikewillamstc,

    Thanks for using our plugins and I do have a snippet you can try.

    You will find the code here you will need to add to your theme’s functions.php.

    https://gist.github.com/jesseeproductions/4b215d2b854a6f6cb649

    You will want to change ‘Concert’,’Convention’ to your Event Category Names you have for it to work.

    This should just work on the main Calendar View.

    Let me know if that works for you.

    Thanks

    #867056
    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 ‘Exclude category from site calendar?’ is closed to new replies.