Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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!

    #1096463

    Can anyone help???

    #1097749

    Hi,

    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ünter

    #1097905

    Thanks but I just get the words Entry Map.

    #1098112

    Hi,

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.