Title: API KEY for Google Maps
Author: Stiofan
Published: <strong>2016 年 7 月 1 日</strong>
Last modified: 2026 年 4 月 9 日

---

搜索插件

![](https://ps.w.org/api-key-for-google-maps/assets/banner-772x250.jpg?rev=1447143)

![](https://ps.w.org/api-key-for-google-maps/assets/icon-256x256.jpg?rev=1555469)

# API KEY for Google Maps

 作者：[Stiofan](https://profiles.wordpress.org/stiofansisland/)

[下载](https://downloads.wordpress.org/plugin/api-key-for-google-maps.1.2.15.zip)

 * [详情](https://cn.wordpress.org/plugins/api-key-for-google-maps/#description)
 * [评价](https://cn.wordpress.org/plugins/api-key-for-google-maps/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/api-key-for-google-maps/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/api-key-for-google-maps/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://developers.google.com/maps/documentation/javascript/url-params#required_parameters).

The plugin was created by the GeoDirectory team: [https://wpgeodirectory.com](https://wpgeodirectory.com)

## 屏幕截图

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

## 安装

#### Minimum Requirements

 * WordPress 6.0 or greater
 * PHP version 7.4 or greater
 * MySQL version 8.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](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

#### Updating

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

## 评价

![](https://secure.gravatar.com/avatar/2b8357d1b32b92f6ccdfabdc913ec04a4b29b5e8121f84292079a64ba04c3383?
s=60&d=retro&r=g)

### 󠀁[didn’t do anything apparently](https://wordpress.org/support/topic/didnt-do-anything-apparently/)󠁿

 [Solutions Redefined](https://profiles.wordpress.org/kbc-unlimited/) 2024 年 12
月 3 日

followed the easy instructions and checked on the mapfix.dev page and says it can’t
find api key or api calls but there is no help to fix it, so not sure what this 
plugin is supposed to do.

![](https://secure.gravatar.com/avatar/0f23b6cee60f1d7e74ea9516b479378265de4d5a47266ff6d608d3d753c312fb?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-4971/)󠁿

 [David William da Costa](https://profiles.wordpress.org/davidwilliamdacosta/) 2023
年 7 月 20 日

The plugin is simple and functional

![](https://secure.gravatar.com/avatar/bb1f3c67472f42197dc5be615feaf1fb55152375fe944355e3399926c4ae88de?
s=60&d=retro&r=g)

### 󠀁[Excelente](https://wordpress.org/support/topic/excelente-2872/)󠁿

 [hericj](https://profiles.wordpress.org/hericj/) 2021 年 5 月 20 日

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

![](https://secure.gravatar.com/avatar/0b4306c5a9f50aeb56b2a49cbf79ef8e71ccec619f2fcc95fdff854cbc1d4ef3?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-6162/)󠁿

 [marinaw](https://profiles.wordpress.org/marinaw/) 2019 年 10 月 23 日

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!

![](https://secure.gravatar.com/avatar/a2dff683f9a45b8390051a75d4f0aa0af4b67bef30c8bf102f200a79abd26c83?
s=60&d=retro&r=g)

### 󠀁[Super](https://wordpress.org/support/topic/super-1498/)󠁿

 [sanyo8](https://profiles.wordpress.org/sanyo8/) 2019 年 7 月 13 日

Great Plugin!

![](https://secure.gravatar.com/avatar/f35f93ae052b2f5b87df05f5ec7de4d0d05c292007f9d8b57e4e2b45f0534bb4?
s=60&d=retro&r=g)

### 󠀁[it works](https://wordpress.org/support/topic/it-works-1557/)󠁿

 [Webprom Design](https://profiles.wordpress.org/webprom/) 2019 年 1 月 28 日

It works. Nice! Had to create a new project and to enable billing for it before 
the map showed. Thanks.

 [ 阅读所有56条评价 ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/)

## 贡献者及开发者

「API KEY for Google Maps」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Stiofan ](https://profiles.wordpress.org/stiofansisland/)
 *   [ Paolo ](https://profiles.wordpress.org/paoltaia/)

[帮助将「API KEY for Google Maps」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/api-key-for-google-maps)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/api-key-for-google-maps/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/api-key-for-google-maps/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/api-key-for-google-maps/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/api-key-for-google-maps/)。

## 更新日志

#### 1.2.15 – 2026-04-09

 * WordPress v7.0 compatibility check – COMPATIBILITY

#### 1.2.14 – 2025-12-03

 * WordPress v6.9 compatibility check – CHANGED

#### 1.2.13 – 2024-11-28

 * WordPress v6.7 compatibility check – CHANGED

#### 1.2.12 – 2024-08-21

 * WordPress v6.6 compatibility check – CHANGED

#### 1.2.11 – 2024-04-11

 * WordPress v6.5 compatibility check – CHANGED

#### 1.2.10 – 2023-12-06

 * WordPress v6.4 compatibility check – CHANGED

#### 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

#### 1.2.3

 * Plugin version update – CHANGED

#### 1.2.2

 * 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

#### 1.2.1

 * Compatibility checked with WordPress 5.9

#### 1.2.0

 * frame 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

#### 1.1.0

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

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.2.15**
 *  最后更新：**2 月前**
 *  活跃安装数量 **40,000+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/api-key-for-google-maps/)
 * 标签
 * [Google Maps](https://cn.wordpress.org/plugins/tags/google-maps/)
 *  [高级视图](https://cn.wordpress.org/plugins/api-key-for-google-maps/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  54 条 5 星评价     ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/)

## 贡献者

 *   [ Stiofan ](https://profiles.wordpress.org/stiofansisland/)
 *   [ Paolo ](https://profiles.wordpress.org/paoltaia/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/api-key-for-google-maps/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://wpgeodirectory.com)