Google maps not working

You are here : Home / Google maps not working

After the last update of WP, my google maps won’t show anymore. I’ve followed all the instructions and has changed the API key, but nothing works. The map is still there somhow, but the page is blank. What do I do?

Public
Hello,
Are you getting any javascript error on console please let me know. Please share your page url so i can also check any java script error in console.
Thanks
#1
Public
Yes several. Please take a look: http://wunderverk.dk/udsigter/kort/
#2
Public
Hello,
You need to insert this code in your activated theme functions.php and your issue will be resolved.
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );

Please try this and let me know.
Thanks
#3
Public
I'm using a childtheme. Is it possible to insert det code here, so I don't have to change det original code? And if so, how do I formulate/insert it?
#4
Public
yes you can insert this code in your child theme functions.php code.

Thanks
#5
Public
Inserted the code into the Childtheme, but the map is stil blank and I get this error.

SyntaxError: expected expression, got '<'


#6
Public
Hello,
ok, then remove the code from your child theme functions.php and insert it at main theme functions.php and also send me screenshot of your functions.php where you have inserted this code. So i can also check it.

Thanks
#7
Public
Ok now i'm seriously spooked! I removed the code from the Childteme again alredy last week and haven't had time to follow up on inserting it into the Main Theme functions.php instead. And now it suddently work again - without any code!! So well - I don't know how, but thanks anyway.
#8

This question is now closed

Customize Product according to your requirements?

We will be glad to discuss any of your needs related to our wordpress plugins . if any of functionality you'd like to see in products, you can reach us by via email hello@flippercode.com.