Home › Forums › Backend Issues (wp-admin) › Google Maps field needs setting to add API key › Reply To: Google Maps field needs setting to add API key
As a temporary fix, you can follow these steps:
– get a Google API Key
– make sure the Google Maps Api’s are enabled:
– copy the generated API key
– open the acf-input.min.js file located in the plugins folder of your WordPress-install (full path: /wp-content/plugins/advanced-custom-fields-pro/assets/js/acf-input.min.js)
– find sensor=false&libraries=places and replace both instances with key=XXX&libraries=places (replace XXX with your own API key)
– enjoy!
IMPORTANT REMARK: as soon as you update the ACF plugin, the file will be overwritten and the key will be lost, hopefully there will be a proper solution in the next release of ACF
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.