Support

Home Forums Event Espresso Premium Shortcodes not working

Shortcodes not working

Posted: February 21, 2013 at 3:04 pm


William Ashworth

February 21, 2013 at 3:04 pm

I’m fully upgraded to the latest stable EE version, as well as all WordPress plugins + core being updated, but for whatever reason we cannot get a single EE shortcode to output actual data. This is driving us nuts after countless hours of testing/debugging, and I probably should have posted here sooner.

There are no console errors with CSS or JS in Chrome inspector during my testing, so I don’t think it’s a JS conflict or anything. Any ideas? Totally without a paddle here 🙁


William Ashworth

February 21, 2013 at 3:05 pm

For sake of letting you know what I’m using in my page, the WP page is empty and I’m publishing the below content in “HTML” tab, but nothing outputs to the page.

[EVENT_LIST]

[EVENT_LIST limit=1]

[EVENT_LIST show_expired=true]

[EVENT_LIST show_deleted=true]

[EVENT_LIST show_secondary=true]

[EVENT_LIST show_recurrence=true]

[ESPRESSO_CALENDAR]


Jonathan Wilson

February 21, 2013 at 3:49 pm

Hello William,

It looks like it may be due to the theme loading an old version of jQuery. With the versions of EE and WP that you are running you need a minimum on jQuery 1.7.2 and ideally the jQuery shipping with WP currently, which is 1.8.3. Anything higher or lower may cause issues.

Your site is currently running 1.7.1. I did notice that your theme is not on the current version. It is possible that the developer has fixed this in an update. http://themeforest.net/item/escalation-responsive-allround-wordpress-theme/2826233?ref=themepunch


William Ashworth

February 21, 2013 at 3:51 pm

Thanks for the reply! 🙂

First, how’d you know which theme we were using? I didn’t even share a link to the site LOL

Second, we’ve customized this so heavily that I’d probably have to update jQuery manually. Several things didn’t work in the theme when we bought it, so we upgraded aspects of it ourselves in order to move ahead.

jQuery may indeed be the culprit. I’ll check into that and report back when done.


William Ashworth

February 21, 2013 at 4:02 pm

1.7.1 to 1.7.2 (no results)
1.7.1 to 1.8.3 (no results)

Screenshot of what's outputting to content area


William Ashworth

February 21, 2013 at 4:03 pm

Apparently my screenshot didn’t want to embed. Here’s a link to the image:

http://d.pr/i/xpRG/5OEu77Tj


Seth Shoultes

  • Support Staff

February 21, 2013 at 6:22 pm

I’m not seeing anything in that link either.


Dean

February 22, 2013 at 12:28 am

First, how’d you know which theme we were using? I didn’t even share a link to the site LOL

Because we are awesome! And because your licence key lets us know the site 🙂

Ok, in your theme style.css, line 610 you have

#event_container_pagination {
display: none;
}

please comment/delete it and you events will appear http://d.pr/i/p7WZ


Vedran Cacic

February 22, 2013 at 9:00 am

Hello

I have similar problem with my theme form

http://www.templatemonster.com/demo/33753.html

tried different versions of jquery, currently 1.8.1
For example on about us page i added [EVENT_CALENDAR], and i can see it in html, but its not displayed in browser.
http://trivema-tours.com/about-us/

Thanks in advance
Vedran


Dean

February 22, 2013 at 9:21 am

Hi Vedran,

First things first, you need to resolve the jQuery issue thats occurring from the theme (jbgallery-3.0.js).

It could well be stopping the rest of the jQuery from loading and the calendar uses jQuery.


Jonathan Wilson

February 22, 2013 at 9:25 am

Thanks for your help on this, Dean! I didn’t catch that. 🙂

William, please let us know whether this resolves your issue.


William Ashworth

February 22, 2013 at 9:36 am

Almost resolved. I removed the CSS rule, but nothing’s actually being output to HTML from the short codes I suspect. Confirming right now. 🙂


William Ashworth

February 22, 2013 at 9:41 am

Yeah, there’s definitely no HTML being output from the short codes, so CSS wouldn’t have been the only issue (since there was nothing to hide).

If it helps, and you’re careful, I’m happy to share FTP access if you think it would be useful. Just let me know where to privately share that information with you. I’ll take a backup of the site first to be safe just in case.


Dean

February 22, 2013 at 9:42 am

@William I can see the event registration page now. Is it resolved or still an issue outstanding?


Dean

February 22, 2013 at 9:43 am

Sorry last message crossed over. Can you link the page with the issue please?


William Ashworth

February 22, 2013 at 9:46 am

Well, I go here and I still don’t see anything.

http://www.clackamasartsalliance.org/will/

Oddly, when I change the assigned template for that page from “default” to “Content”, the shortcodes magically start working. The only one that doesn’t seem to work right now is [ESPRESSO_CALENDAR].

==========================

Contents of the page

[EVENT_LIST]

[ESPRESSO_CALENDAR]


Dean

February 22, 2013 at 9:50 am

Hey

Yeah I can see the shortcode http://d.pr/i/1MWa

The Jquery is being blocked becuase it is being wrapped in

<

p> tags. Try wrapping the calendar (and other shortcodes that arent working) in [raw] tags

eg [raw][ESPRESSO_CALENDAR][/raw]

That’s if your theme supports that code. Otherwise you can look in your theme functions file for something like this http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode and remove/comment it out


William Ashworth

February 22, 2013 at 11:30 am

[raw] did the trick. Thank you!

The support post ‘Shortcodes not 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  William Ashworth 6 years, 8 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.