Support

Home Forums Event Espresso Premium Custom Calendar template not recognising category restriction

Custom Calendar template not recognising category restriction

Posted: March 29, 2013 at 8:56 am

Viewing 2 reply threads


ltomlin

March 29, 2013 at 8:56 am

Dear Espresso,

because of a conflict between my theme and espresso I have a custom WP template which is used to display the calendar. This has always worked. However I need to restrict some things from teh calendar now, although they are still active and used for bookings. So, we have created a category “Show on Calendar” id=15. However on amending the template the page now shows nothing – I have one event that is using this category. i have tried several variations, including removing other categories on the event. Here is the line in the template:

> echo do_shortcode(‘[ESPRESSO_CALENDAR event_category_id=”15″
> show_expired=true]’); ?>

Do I have the syntax wrong? Any suggestions?

Thank you……………… liz


Dean

March 29, 2013 at 9:24 am

[ESPRESSO_CALENDAR event_category_id=”fsdfsdf-1363007469″]

Where event_category_id is the longer one not just the numeric id

http://d.pr/i/2NBQ


ltomlin

March 30, 2013 at 2:30 pm

aha, I see , thank you. I think I saw a bad example that just had “1” as the parameter

liz

Viewing 2 reply threads

The support post ‘Custom Calendar template not recognising category restriction’ 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