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)
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.