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 Empty Times on Calendar View | Event Espresso - Staging Server
Yes – I can do that but the event doesn’t have a time (it’s all day) AND a much more elegant solution would be to do a check for a value and print ONLY if there is a value present.
I’ve dug in the code adjusted that feature.
Here is the quick solution I came up with:
Version: Expresso Calendar 2.0.1
File: wp-content\plugins\espresso-calendar.2.0.1\espresso-calendar.php
Line: 570
Code (Replace line 570 with the following code): if(event.startTime != ”)
element.find(‘.fc-event-title’).after($jaer(” + event.startTime + ‘ – ‘ + event.endTime + ”)); else
element.find(‘.fc-event-title’).after($jaer(”));
Thanks! I’ve created a ticket to adjust this in 2.0.4 of the calendar (2.0.3 is already done and live).
Viewing 3 reply threads
The support post ‘Empty Times on Calendar View’ 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.