Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #207531

    Hello,

    For some reason after updating the google map widget isn’t working on pages or the sidebar? any idea

    #207532
    This reply has been marked as private.
    #207929

    Hi!

    It seems like another plugin already loads the google map api file and this breaks the map widget. Try to insert following code into the functions.php file (insert it at the very bottom) to fix the issue

    
    add_filter( 'avia_google_maps_widget_load_api', 'avia_remove_widget_script', 10, 2);
    function avia_remove_widget_script($load, $config) {
        return false;
    }
    

    Cheers!
    Peter

    #208065

    after adding this my website goes blank? once I have removed the above code from functions.php it came back again. any idea

    #208383

    Hey!

    The code is valid – I just tested it on my test server and it worked. Please delete the entire content/code within functions.php and then insert this code: http://pastebin.com/raw.php?i=G6GTHZ7p – it’s the same code I used on my test server and it should work on your server too.

    Regards,
    Peter

    #210804

    Yes I have pasted the exact code you provided but no result I can’t still see my map is contact us page.

    #210832

    Hey!

    It seems like the “kitchenbug” plugin causes the issue. It adds following css code to the website

    
    .clearfix {
    display: inline-block;
    }
    

    which breaks the map widget. You’ve two options

    1) Remove the kitchenbug plugin

    2) Insert following code into the quick css field to overwrite the kitchenbug code

    
    #top #wrap_all .clearfix {
    display: block;
    }
    

    Regards,
    Peter

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Enfold Google Map widget isn't working’ is closed to new replies.