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', '//maps.googleapis.com/maps/api/js?sensor=false', null, null);
which causes the conflict.
Any attempt to load this JS only on certain pages etc fails (function.php with
I am not sure wether this is a problem with the plugin or with ACF, any help is appreciated.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2023 Advanced Custom Fields.