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 Display a single day & a specific start time. | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Calendar Display a single day & a specific start time.

Calendar Display a single day & a specific start time.

Posted: February 1, 2014 at 2:13 pm

Viewing 1 reply thread


Mark Jarvis

February 1, 2014 at 2:13 pm

Is there some parameter or trick to make my calendar display only one particular day? People can’t seem to navigate from today’s date/week displayed to get to the date I want them focused on.

Here’s what I’m starting from: [ESPRESSO_CALENDAR cal_view=”agendaDay”] (Available parameters: month, basicWeek, basicDay, agendaWeek, agendaDay)


Dean

  • Support Staff

February 3, 2014 at 4:48 am

Hi Mark,

[ESPRESSO_CALENDAR cal_view=”basicDay”] (or agendaDay if you prefer) will show the current day.

There isn’t a parameter (currently) to set a specific date time. However if you have no objection to a little code edit then it can be done.

In the espresso-calendar/scripts/espress_calendar.js file if you add the following to the bottom of it, just before the last }); it will set EVERY calendar to start at this date.

$('#espresso_calendar').fullCalendar('gotoDate', 2014, 2, 17);

Those numbers are Year, Month, Day so that will be March 17th 2014. Please note that months start at zero so Jan = 0, Feb = 1, etc.

Please also note that any updates to the calendar will over write this code.

Viewing 1 reply thread

The support post ‘Calendar Display a single day & a specific start time.’ 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