Support

Home Forums Events Calendar Add-on Calendar Categories

Calendar Categories

Posted: August 2, 2013 at 7:37 am


butterlane

August 2, 2013 at 7:37 am

Hi,

Is there a way to display multiple categories in a Calendar? I searched the forums and it looks like someone asked this question back in 2012. When I place more than 1 category identifier in a calendar it shows the entire calendar. Thanks!


Sidney Harrell

August 4, 2013 at 7:56 pm

Yes, you’ll have to modify line 209 of espresso-calendar.php to be:

$sql .= " AND (c.category_identifier = '" . $event_category_id . "') ";

The when you create the calendar shortcode, you’ll need to use the format:

event_category_id="out-of-sight-1375239585' OR c.category_identifier = 'outrageous-1375218492"

The support post ‘Calendar Categories’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso