Home › Forums › Backend Issues (wp-admin) › Google Maps is not working › Reply To: Google Maps is not working
Same problem here with ACF Pro 5.8.4.
I had activated
Now I deeded to activate
,too. So I have
Works.
This is the way I load the script in my functions.php:
wp_register_script('aa_js_googlemaps_script', 'https://maps.googleapis.com/maps/api/js?v=3.exp&key=XXX'); // with Google Maps API fix
wp_enqueue_script('aa_js_googlemaps_script');
and
function my_acf_init() {
acf_update_setting('google_api_key', 'XXX');
}
add_action('acf/init', 'my_acf_init');
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.