Google Maps not showing


#1

Hi and thanks for your great work!

I inserted shortcodes generated by a.) Google Maps Builder and b.) WP Google Maps in various locations (for testing) on the Front Page.

  1. In a text widget (in a column next to Contact Form 7, which is working)

  2. In the footer widget B.

  3. In the “Moesia Above Footer Widget”.

None of these locations show a map. I searched for conflicts with other plug-ins but to no avail. Only the shortcode is displayed in the frontend.
When both map plug-ins are activated, the shortcodes disappear and the space expands as if a map was there, but it is not displayed.

Please take a look at http://s161185540.online.de

Thanks alot in advance,
GG


#2

Hi, it is probably because shortcodes won’t execute in widget. Try placing code below to your functions.php file or use Code Snippets plugin (it is easier).
add_filter(‘widget_text’ ‘do_shortcode’);


#3

Thanks for that! Unfortunately this did not change anything. The shortcode for Contact Form 7 is working in widgets.

BTW the WP toolbar is not showing in the frontend, just a blank space.
In other installations it’s fine …!?


#4

Try using your shortcode in the regular Text widget please. You have it in Black Studio now.

The theme isn’t doing anything regarding the toolbar so this might come from somewhere else.


#5

Ok, it is now in a text widget (in a column next to Contact Form 7, which is working.


#6

… to be clear: Contact Form 7 is working, not Google Maps.


#7

So this is happening while the code provided by dimikjones above is added? I just tried with the WP Google Maps plugin you mentioned and it’s working fine for me.


#8

Yes, I added the code above with Code Snippets. I deactivated all plugins besides the ones that are obligatory for MOESIA.


#9

I just checked it on our demo site and it also works there without issues in both the page builder and in the regular widget areas. It’s in the footer now for a bit if you want to see it: http://demo.athemes.com/moesia/
Edit: what I meant to say is that we unfortunately cannot help in this matter.


#10

Which map plugin did you use?


#11

The one you mentioned: WP Google Maps


#12

Hello again,

I am started from scratch. Importing demo data gave this alert:
Import von product_type external fehlgeschlagen
Import von product_type grouped fehlgeschlagen
Import von product_type simple fehlgeschlagen
Import von product_type variable fehlgeschlagen

fehlgeschlagen = failed

Is this of any importance?


#13

No, that’s simply because you didn’t have Woocommerce active when you imported and we did when we exported. There is no data for it anyway.