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
Calendar "All Day Event" | Event Espresso - Staging Server

Support

Home Forums Calendar Calendar "All Day Event"

Calendar "All Day Event"

Posted: January 10, 2014 at 2:19 pm

Viewing 3 reply threads


novaopen

January 10, 2014 at 2:19 pm

How do I get an event to display in the “All Day Event” portion at the top of the Calendar?


novaopen

January 10, 2014 at 2:32 pm

Further, is there a way to exclude individual events from displaying on the calendar?


novaopen

January 10, 2014 at 2:33 pm

I suspect a meta field would work but how would that be passed to (or excluded from) the calendar?


Josh

January 10, 2014 at 5:07 pm

Hi Michael,

We’ll have to look into how to pass the allDay option into the event object. I think you’re on the right track about using a meta key because it’s not a standard built in option that Event Espresso offers.

One way to exclude specific events from displaying on the calendar is by setting their status to “waitlist”. They’ll still work like any other event where you’ll be able to register for them as long as you don’t link them to another event so they become a real waitlist sign up.


Josh

January 10, 2014 at 7:26 pm

Michael,

If you look in espresso-calendar.php around line 754 you’ll find:

$events[ $cntr ]['allDay'] = FALSE;

This can be changed to:

if (array_key_exists('allDay', $event_meta)){
   $events[ $cntr ]['allDay'] = TRUE;
} else {
   $events[ $cntr ]['allDay'] = FALSE;
}

Then you can enter allDay into the key field and give it a value in the event meta in the event editor to make it display as an all day event in the calendar.

Viewing 3 reply threads

The support post ‘Calendar "All Day Event"’ 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