first of all congrats and thanks for this awesome plugin.
I was testing it and it was working (almost) perfectly out of the box.
In one instance, it seems not to be working as supposed.
My setup:
WP Multisite
Siteorigin Page Builder
LF Hiker and some other plugins
Your maps work in three cases:
Pasting/Creating a shortcode in the default WP editor
Shortcode in sidebar default WP widget -> Text or Editor
Shortcode in sidebar siteorigin Layout Builder -> Text or Editor
And here comes the curious thing:
When switching the default WP editor to "Siteorigin Page Builder" to create and arrange page content, the map will not show on the frontend.
The error console only says "Error: Map container not found"
BUT
it works in the sidebar in combination with Siteorigin Layout Builder as shortcode pasted in the text or editor widget.
AND
the error is the same when pasting any lf hiker shortcode in a custom page template.
Do I have to add a script to make the container load properly (as it is filled dynamically)
Do you have any ideas on how to solve it?
Or put me in the right direction?
Maybe, I could assist in coding.
I see your issue just now.
I already had problems with divi theme.
Some function execute the shortcode first time to extract picture or some think else. @see commit 72ff9c
I try to reproduce...
Salut Elisabeth,
first of all congrats and thanks for this awesome plugin. I was testing it and it was working (almost) perfectly out of the box.
In one instance, it seems not to be working as supposed. My setup:
Your maps work in three cases:
And here comes the curious thing: When switching the default WP editor to "Siteorigin Page Builder" to create and arrange page content, the map will not show on the frontend. The error console only says "Error: Map container not found" BUT it works in the sidebar in combination with Siteorigin Layout Builder as shortcode pasted in the text or editor widget.
AND the error is the same when pasting any lf hiker shortcode in a custom page template.
Do I have to add a script to make the container load properly (as it is filled dynamically) Do you have any ideas on how to solve it? Or put me in the right direction? Maybe, I could assist in coding.
Merci beaucoup. A bientôt Tobi