Events Planner Logo
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Can't add shortcode to pages with SiteOrigin page builder

Jennie — Dec 05, 2016 04:36PM MST

I am having issues displaying an events list on a page which I am using a page builder. I have researched into this and it says to contact the plugin developer as they may need to provide an update to make this compatible. Can be made compatible?

I have put the shortcode on this page: http://www.sportingstarscoaching.com/holiday-clubs/dance-academy/
It should be under the three coloured buttons.


4 Community Answers

Abel - Dec 06, 2016 at 08:43PM MST

WP Events Planner Agent

Hi Jennie.

Hmm. I have not had this issue before in the past 5 years. I am not sure why they would not output the contents of a shortcode. Did they say what they mean by an “update to make it compatible”?

Thanks, Abel

rated : 0 Up Down

Jennie - Dec 09, 2016 at 01:48AM MST

All they said is
"It sounds like that plugin might unfortunately not be compatible with Page Builder. If you feel like it you could always suggest to the author that they consider becoming compatible. Sorry I don’t have more here."
Useful, I don't think!

rated : 0 Up Down

Jennie - Dec 09, 2016 at 01:53AM MST

This may be of use but probably not here is more from the thread - https://siteorigin.com/thread/shortcodes-doesnt-work-with-pagebuilder/

Somebody also said: "I believe I have pinned it down to how shortcodes are handled within page builder.

A regular shortcode [something] seems to work fine with it from my testing. However if it is something slightly more advanced such as [something id=”something”].

I think that sitebuilder is getting hung up on the quotes for the dynamic shortcode and creating an infinite loop/stack overflow that eats up all available script memory until it becomes exhausted.

It would be interesting to know if someone can replicate this and ultimately come up with a solution/update"
"I discovered what was causing my problem yesterday, and it turned out it wasn’t the quote marks within the shortcode.

It seems that when pagebuilder is activated on the portfolio pages (custom post type), the plugin I used to list the portfolio items seemed to load the content of each one which would then load the shortcode I put within the pages (to show related posts).

As such it would load a shortcode that would load more portfolios which would load more shortcodes which continued in a loop until it ran out of posts to open or it ran out of memory.

This didn’t happen with pagebuilder switched off as the plugin by default ignored the shortcodes. It seemed that pagebuilder triggered the shortcodes each time the content was pulled through.

To get around it, I removed all the shortcodes from each portfolio piece and then added them within the template php file to get the related posts to work.

"It might be part of a bigger problem, but hopefully the explanation of what happened to mine will help you to find a solution to your problem. If you can, try triggering shortcodes in the theme file rather than within the post itself."

"I understand that the editor is not the problem, but the concept. The script must be placed outside of the text and translated as a code. Your editor is running this text after the interpretation making the code useless.

"The best option would be to cooperate with the text plugin and let HTML be processed as code and not making it to text."

If you can help it would be great, otherwise thank you anyway.

rated : 0 Up Down

Abel - Dec 14, 2016 at 07:31PM MST

WP Events Planner Agent

Thanks Jennie.

Yeah, I am afraid this can only be fixed by the page builder authors. I still don’t know why they took that route.

Thanks, Abel

rated : 0 Up Down

Post Your Public Answer