Posted: March 1, 2024 at 12:09 pm
We have several website pages/subpages with EE short codes and when they load only the website header is displayed. All other content is not displaying. Was there a change to the EE short codes? Do you have a solution for this issue? |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi there,
Between which versions? I assume you have recently updated? As far as I am aware we haven’t made any changes to how the shortcodes load in any recent versions but it depends which version you updated from. If you let me know I’ll double check for changes between those version numbers.
There should be no difference between loading the page with a parent and child theme, unless the child theme is doing something really odd/non-standard. The custom code within functions.php is fine and wont cause issues. The custom code within
That usually means something else threw an error, warning, notice, something that was output to th browser before EE tried to start a session. You can’t start a session once anything has been output to the browser, so although EE is showing the error there, EE is just trying to start a session but something else output something to the browser first. Any other errors around the same time? The ‘fix’ is to not display errors directly on the page itself but load them in the background… that way nothing is actually output to the browser.
Hmm, so when that happens its usually because EE can’t detect the shortcode usage within the content. Have you recently edited those pages using avada’s page builder?
I assume no errors are thrown when loading the page? Is the above code everything that is in the child theme? |
|
This reply has been marked as private. | |
There must have been some updates run between when this worked and now, right?
I’m ask about the version you updated from between when this worked and when it didn’t, yesterday this was already an issue so I need to know which version was running when this worked so I can compare. Support tokens are available here: https://eventespresso.com/product/premium-support-token/ However, note that this sounds like a plugin conflict so I can’t guarantee a fix currently. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
The code above is fine, but is that all of the files within the child theme? (The issue may not be related to an EE file at all, it could be another template from within the child theme)
No, that should be fine. I’m probably going to need to add some code to the site to troubleshoot this and find out why EE can’t detect the shortcode usage. The template files themselves don’t enqueue the assets (JS and CSS) so regardless of changes made within those the styles loading shouldn’t be affected. |
|
Those are the only php files in the child theme. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
The support post ‘Website Pages with EE Short Code Not Loading’ 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.