API KEY for Google Maps


Retroactively add Google Maps API KEY to any theme or plugin.

Simply activate, go to Settings>Google API KEY and enter your key.
The plugin will then attempt to add this key to all the places it is needed on the front of your website.
NOTE: this will only work if the Google API has been added as per WordPress standards)

Since January 2023 Google Maps JavaScript API requires callback parameter. This plugin also fixes JavaScript Error: Loading the Google Maps JavaScript API without a callback is not supported.

The plugin was created by the GeoDirectory team: https://wpgeodirectory.com

سکرین شاٹاں

  • Settings page.
  • Generate API KEY.
  • Copy API KEY, paste in Settings and save.

انسٹال کرݨ

Minimum Requirements

  • WordPress 5.0 or greater
  • PHP version 5.6 or greater
  • MySQL version 5.0 or greater

Automatic installation

Automatic installation is the easiest option. To do an automatic install log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type Google Maps API KEY and click Search Plugins. Once you’ve found the plugin you install it by simply clicking Install Now.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex will tell you more here.


Automatic updates should seamlessly work. We always suggest you backup up your website before performing any automated update to avoid unforeseen problems.

ہرہک دے سوال

Ask and they shall be answered


جولائی 8, 2022 1 reply
not work...i have api in google console but not work..
مئی 20, 2021
Después de buscar tantos tutoriales de como resolver mi problema, encuentre este plugin que por fin resolvió y genero mi API key sin problema
اکتوبر 23, 2019
We've had an issue with a particular theme having something wrong with their theme settings, which resulted in the section for the API key missing. I installed this plugin and it did the job. Super easy and quick!
جنوری 28, 2019
It works. Nice! Had to create a new project and to enable billing for it before the map showed. Thanks.
سارے 55 ریویو پڑھو

Contributors & Developers

“API KEY for Google Maps” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“API KEY for Google Maps” دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ

1.2.9 (2023-08-10)

  • WordPress v6.3 compatibility – CHANGED

1.2.8 (2023-03-30)

  • WordPress v6.2 compatibility – CHANGED

1.2.7 (2023-02-02)

  • Add .gitattributes file – ADDED
  • Generate Google API Key is no longer working – FIXED
  • Loading the Google Maps JavaScript API without a callback is not supported – CHANGED


  • Plugin version update – CHANGED


  • Compatibility checked with WordPress 6.0 – CHECKED
  • Now tries to add api key even if no key param is found – CHANGED
  • Now only users with “manage_options” ability can update the API key – SECURITY


  • Compatibility checked with WordPress 5.9


iframe api generation broken (by Google iframe restrictions) changed to new window popup – FIXED
Updated Generate API KEY button to add access for all APIs – CHANGED


Added a Generate API KEY button for easier generation of API KEY – ADDED


initial release