Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Custom Calendar template not recognising category restriction | Event Espresso - Staging Server

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

  • Support Staff

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 - Staging Server