Can I filter by categories?

Support for the WordPress Calendar plugin
hsizer
Posts: 3
Joined: Mon Sep 15, 2014 3:28 pm

Can I filter by categories?

Unread post by hsizer » Mon Sep 15, 2014 3:31 pm

Hi There, I have categories set up and displaying on the calendar :) Am I able to filter so that only one of the categories shows at a time?
Thanks for your help!

User avatar
Kieran
Posts: 2059
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: Can I filter by categories?

Unread post by Kieran » Tue Sep 23, 2014 12:49 pm

You can add calendar to a page such that only one or more categories are displayed, as follows (numbers are the category numbers)

Code: Select all

{CALENDAR;1,2}

hsizer
Posts: 3
Joined: Mon Sep 15, 2014 3:28 pm

Re: Can I filter by categories?

Unread post by hsizer » Wed Sep 24, 2014 6:04 pm

Thank you! That works great.

Is it possible to show the categories on the calendar, but not show the legend at the bottom? My events have the category in the name and I do not need the legend.

Thanks again, love the calendar!

hsizer
Posts: 3
Joined: Mon Sep 15, 2014 3:28 pm

Re: Can I filter by categories?

Unread post by hsizer » Wed Sep 24, 2014 6:13 pm

I figured it out :)

add

table.cat-key { display: none!important; }

to the CSS

Post Reply