The problem is lines 186 and 199 in shortcodes-finder-admin-display. This restricts the display to shortcodes in public post type posts. Removing the ‘public’ => ‘true’ criteria fixes the problem for Divi and probably other page builders. In Divi these posts contain author supplied content provided in the Template Builder and can contain shortcodes.
I’m not marking this as resolved since it needs an update to the plugin. Either make this an option or just remove the ‘public’ => ‘true’.
Hi @pkwooster and thanks for your topic.
Let me make some tests on that and I will let you know.
@pkwooster can you tell me how to create a et_body_layout post? Where is it in Divi builder?
Thanks
I’m a backend developer, so not much more familiar than you are about using Divi. What got me interested in this was when shortcodes I wrote were not being found. I’ve asked my client to walk me through how to build a Divi template and I’ll forward it to you. What i do know is:
- open Divi Theme builder
- open Global Body Template (second on left)
- use the gear icon to get the editor.
Divi is very complex. Here’s the Elegant Themes documentation on this. https://www.elegantthemes.com/documentation/divi/the-divi-theme-builder/
I suspect any Divi template part will have the same problem and that this probably applies to any page or site builder that relies on custom post types to store its template parts.