Tagged: gravityforms
-
AuthorPosts
-
May 1, 2019 at 3:28 am #1095999
Hi
I have been using your themes for ages and love Enfold. However, I am having trouble with a google map issue. I have the GravityView and Gravity Forms plugins which I use on other sites. I need to embed a map into a business directory view but its hanging the page.
I can create a view for a directory no problem:
However I have paid for the all access licence as I want to have more control over the layout and put maps in etc. As soon as I try to use the maps addon the page hangs: http://www.myestateplanner.ripplemarketing.com.au/find-an-estate-planner/
Those two pages are exactly the same just one has a map on the view, the other doesn’t.
Email from the plugin developers:
Yes! There is indeed a conflict with your theme. Your theme framework (Avia) is always enqueueing the Google Maps script, regardless if I remove the API key from this page: http://www.myestateplanner.ripplemarketing.com.au/wp-admin/admin.php?page=avia
I tried to hack the theme code but was unable to make it work (I left everything intact, don’t worry).
I’m afraid there’s nothing else we can do about it. I’ll need you to contact the author of that theme and find out with him if it’s possible to prevent your theme framework from loading the Google Maps script completely, that’s the only way to try to make our Maps extension to work on your website.
Please help!
May 2, 2019 at 1:28 pm #1096463Can anyone help???
May 6, 2019 at 5:15 pm #1097749Hi,
Thank you for using Enfold – and sorry for the late reply.
You can use the filter avf_load_google_map_api_prohibited.
In functions.php of your child theme (or parent theme) add:
function custom_no_load_google_map_api( $no_load ) { return true; } add_filter( 'avf_load_google_map_api_prohibited', 'custom_no_load_google_map_api', 10, 1 );
Best regards,
GünterMay 7, 2019 at 2:16 am #1097905Thanks but I just get the words Entry Map.
May 7, 2019 at 4:03 pm #1098112Hi,
I’m afraid there’s nothing else we can do about it. I’ll need you to contact the author of that theme and find out with him if it’s possible to prevent your theme framework from loading the Google Maps script completely, that’s the only way to try to make our Maps extension to work on your website.
The filter I gave you above does not load Enfold’s Google scripts any longer.
So the plugin author should be able to solve the problem.
You will need to clear server cache. Also disable Enfold’s compression of css and js files to force a rebuild of the files.
Hope this helps you.
Best regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.