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
Some shortcodes aren't working | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Some shortcodes aren't working

Some shortcodes aren't working

Posted: August 2, 2012 at 8:49 pm

Viewing 3 reply threads


ddeschner

August 2, 2012 at 8:49 pm

Hello,

I seem to be having a problem with just some types of shortcodes on my website. While most of them seem to work (like [EVENTLIST]) there are a couple which do not (like [EVENT_TIME event_id=1 type=start_date format=F jS]). It appears as though they are recognized as shortcodes, they simply don’t show any data.

I have tried deactivating all of my plugins, but the problem persists.

I set up this example page to illustrate the problem: http://yycomedy.ca/shortcodes/

Any thoughts on why one would work and another wouldn’t?

-Donovan


Josh

August 3, 2012 at 7:44 am

This will be fixed in the next update. For now, you can open up /wp-content/plugins/event-espresso/includes/shortcodes.php and make this edit:

On line 174 it reads:

espresso_event_time($event_id, $type, $format);

change it to:

echo espresso_event_time($event_id, $type, $format);


ddeschner

August 6, 2012 at 4:51 pm

Thanks, Josh. That did indeed fix the problem.

Should I make a note to double-check the functionality after the next update?


Josh

August 6, 2012 at 6:43 pm

The changes have been committed to Event Espresso 3.1.26.P, but it doesn’t hurt to check.

Viewing 3 reply threads

The support post ‘Some shortcodes aren't working’ 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