Posted: December 20, 2015 at 2:53 pm
|
Hi, On my staging server updated to WP 4.4. (Running Table View Template 1.3.3.p) Immediately notice that the Table View shortcodes no longer work. http://bsop.staging.wpengine.com/edmonton-digital-camera-fundamentals-photography-classes/ versus how it works on my production server: https://www.bsop.ca/edmonton-digital-camera-fundamentals-photography-classes/ Upated EE to 4.8.27.p with no change to results. Disabled ALL other plugins except for EE and Event Espresso Events Table View Template (EE 4.4.9+) with no change. Please help and fix ASAP. Paul |
Hi Paul, It turns out that there were some changes in the WordPress shortcode API that were introduced in WordPress 4.4. Long story short, they’ve tightened up shortcode parsing and it’s less fault tolerant. What this means for you is if you are using curly quotes in your shortcode parameters, like this: shortcode_param=”false”, you remove the quotes so the parameter looks like this: shortcode_param=false. |
|
|
I removed the “curly quotes” in the shortcode_param with no effect. Witness: http://bsop.staging.wpengine.com/edmonton-digital-camera-fundamentals-photography-classes/ |
Hi Paul, Could you try this shortcode (I removed some extra spacing that I saw)? [ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=digital-camera-fundamentals table_search=false category_filter=false] Also, could you double-check that the Events Table View Template add-on is activated? Thanks — |
|
|
Hi, Removing that extra space made all the difference. Very temperamental. Thanks for the help! Paul |
The extra spacing Lorenzo saw was the nbsp element inside the shortcode in the source of the page: I’m also concerned about the quotes that are wrapping the content within each paragraph, but if those are not breaking anything, then that should be fine. You can make sure there isn’t extra html inside the shortcodes by switching to the “Text” tab of the page editor. |
|
|
This is still giving me major problems. (And when you go to categories it still shows the Shortcode with “curly quotes”.) On this page: http://bsop.staging.wpengine.com/edmonton-lightroom-6cc-classes/ I cannot get it to work until I add a second shortcode for the same category plus a third short code for an unrelated event. Very, very flaky. Any way of fixing that? Paul |
Are you editing with the Text view or the Visual View Paul? Again, the reason for the flakiness you’re seeing is they’ve tightened up the Shortcode API. Before WP 4.4, the shortcode API was much more fault tolerant (or as others have noted, lazy) where it would allow for improper formatting, typos and/or extra html within the shortcode. There’s an open ticket in WordPress trac that addresses one of the new issues with the new Shortcode API that we’re keeping an eye on: https://core.trac.wordpress.org/ticket/34939 You may wish to wait and see if WordPress 4.4.1 fixes the issues you’re seeing now, or if you can copy and paste the shortcodes you were trying to use that you couldn’t get to work we can offer suggestions. |
|
The support post ‘WP 4.4 Breaks Event Espresso Events Table View Template (EE 4.4.9+)’ 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.