Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #358652

    Hi Guys,

    I’m using your fantastic Enfold theme. I encountered only a little problem: I need to use ACF (advanced custom fields), but the ACF “google map” field type doesn’t work with Enfold. I did some search and found that the problem could be the google map api script inclusion (http://maps.google.com/maps/api/js?sensor=false…) in the admin. I found that Enfold includes this script enqueuing “avia-google-maps-api” script. I tried to remove the script inclusion adding this code to my child theme:

    function remove_scripts()
    {
    	wp_deregister_script( 'avia-google-maps-api' );
    }
    add_action( 'wp_enqueue_scripts', 'remove_scripts', 100 );

    but it doesn’t work. Do you have any idea to solve this problem? I would like to use ACF to add a store locator to my app, and I need the “google map” field to geolocate the input address.

    Thank you very much for your help!

    #359396
    #359623

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Advanced Custom Fields – google maps field type doesn't work with Enfold’ is closed to new replies.