New cornerstone version broke few pages with custom code

Hey there,

The website was working fine a couple of months ago until we found that the cornerstone editor has been updated and messed up the website.
Then we upgraded the WordPress version and everything started working fine, except, for a few pages where we used the custom code with shortcodes and custom JS.

We have tried every way to fix it, but the issue is new cornerstone isn’t loading the old cornerstone’s data(our assumption).
I will add the website URL and all the login credentials in secure notes, please help me fix it.

I appreciate it, thanks!

Hi @klevur,

Thanks for reaching out.
I have checked and found that the problem is in the child theme. I have activated the Parent theme temporarily and that resolves your problem. I would suggest you check the custom code in the child theme which causes the problem.
Please remember that we don’t support custom code or related issues. As you have already detected the problem, I would suggest you hire a developer who can assist you help on this or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.

Thanks

Hi @tristup

Thanks for your response.
Yes! I’m aware of that, however, my concern is the shortcode written like this [custom-shortcode] in the cornerstone’s text element is not loading in the newer version of it.

We even tried dragging the elements and changing their order, but it wasn’t allowing us to do that particularly on those two pages.
The custom code written in the child theme is working the way it should on the front end but the cornerstone is messing with their location. And we can’t even debug the code added there because it’s not loading properly.

Thanks.

Hey @klevur,

For my personal preferences, I always see this issue if you didn’t add a PHP buffer to your shortcode. You can check this PHP buffer.

Please note that we can’t check your child theme fuctions.php due to file permission.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.