Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LF Hiker in combination with siteorigin widgets - not showing up - Map container not found #11

Open
DESIGNMENOW opened this issue Apr 25, 2018 · 1 comment
Assignees

Comments

@DESIGNMENOW
Copy link

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:

  • WP Multisite
  • Siteorigin Page Builder
  • LF Hiker and some other plugins

Your maps work in three cases:

  1. Pasting/Creating a shortcode in the default WP editor
  2. Shortcode in sidebar default WP widget -> Text or Editor
  3. 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.

Merci beaucoup.
A bientôt
Tobi

@epointal
Copy link
Owner

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants