Home Forums ACF PRO MAP field breaks JS Reply To: MAP field breaks JS

  • Ok I was wrong – it IS a plugin that stops the MAP field and other JS from working.
    In fact, ANY other Map plugin conflicts with ACF.

    Either the map created from the plugin won’t render, or the plugin breaks ACF’s JS.

    The Plugin (WP GPX Maps) loads a script in its plugin file correctly with wp_enqueue_script( 'googlemaps', '//', null, null);
    which causes the conflict.

    Any attempt to load this JS only on certain pages etc fails (function.php with add_action etc).

    I am not sure wether this is a problem with the plugin or with ACF, any help is appreciated.