Title: Address Autocomplete Anything
Author: WP Sunshine
Published: <strong>2022 年 2 月 11 日</strong>
Last modified: 2025 年 12 月 9 日

---

搜索插件

![](https://ps.w.org/address-autocomplete-anything/assets/banner-772x250.png?rev
=2677355)

![](https://ps.w.org/address-autocomplete-anything/assets/icon-256x256.png?rev=2677355)

# Address Autocomplete Anything

 作者：[WP Sunshine](https://profiles.wordpress.org/wpsunshine/)

[下载](https://downloads.wordpress.org/plugin/address-autocomplete-anything.1.2.6.zip)

 * [详情](https://cn.wordpress.org/plugins/address-autocomplete-anything/#description)
 * [评价](https://cn.wordpress.org/plugins/address-autocomplete-anything/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/address-autocomplete-anything/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/address-autocomplete-anything/#developers)

 [支持](https://wordpress.org/support/plugin/address-autocomplete-anything/)

## 描述

This plugin is unique in that it allows you to add a Google Address Autocomplete
to _anything_ on your WordPress website. It is not made to be specific for any one
e-commerce, form, LMS, or other WordPress plugin… is compatible with them all!

Address Autocomplete is my favorite feature on any e-commerce site or any time I
need to fill out a form on a website. Originally built for our other plugin, [Sunshine Photo Cart](https://wordpress.org/plugins/sunshine-photo-cart/),
I realized I could make this available to work for _anything_.

### How it works

By using CSS selectors (don’t worry non-tech person, it is easier than you think
and a [simple help article and video is available](https://wpsunshine.com/documentation/finding-your-css-selectors/?utm_source=wordpress.org&utm_medium=link&utm_campaign=address-autocomplete-readme)!),
you can add Address Autocomplete to Anything! Provide a selector for which input
field on your page you want to trigger the address autocomplete when a user types,
and then the CSS selectors to target for the address data.

### What you need

You only need to [get a Google Maps API key](https://wpsunshine.com/documentation/google-maps-api-key/?utm_source=wordpress.org&utm_medium=link&utm_campaign=address-autocomplete-readme).
Although billing info is required, _most_ sites will never be charged as the free
limit is quite high.

[Visit the documentation](https://wpsunshine.com/doccat/address-autocomplete/?utm_source=wordpress.org&utm_medium=link&utm_campaign=address-autocomplete-readme)

### Upgrade to Premium

 * Get unlimited instances on your site
 * More detailed data fields (latitude, longitude, county, neighborhood, sub localities,
   etc) to use for population
 * Automatically integrate with popular e-commerce and form plugins with one-click
   set up:
    - WooCommerce (Shortcode and Block Checkout, My Address in Account)
    - Gravity Forms (Address Field)
    - LifterLMS
    - Paid Memberships Pro
    - …and more coming _very_ soon!

[Get Premium here](https://wpsunshine.com/plugins/address-autocomplete/?utm_source=wordpress.org&utm_medium=link&utm_campaign=address-autocomplete-readme)

## 屏幕截图

 * [[
 * Plugin settings
 * [[
 * Sample form showing how address autocompletes works

## 安装

 1. Upload and activate the plugin
 2. Get a Google Maps API key
 3. Go to Settings > Address Autocomplete and to enter Google Maps API key and form
    settings
 4. Get the CSS selectors for your form and put into the settings

## 评价

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

### 󠀁[Excellent product, great support.](https://wordpress.org/support/topic/excellent-product-great-support-16/)󠁿

 [jessedw44](https://profiles.wordpress.org/jessedw44/) 2026 年 1 月 19 日

I bought the paid version after messing around with the free version. It turns out
that you need the paid version for it to work with WooCommerce blocks. I missed 
reading that. I made a suggestion after I got it working to the developer… that 
it would be nice if the autocomplete, restricted itself to the country you choose,
if you choose a country first, and wow…. that fix was put in immediately and released.
Excellent code, lightweight, works beautifully

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

### 󠀁[Greate Value for money](https://wordpress.org/support/topic/greate-value-for-money/)󠁿

 [frankevp](https://profiles.wordpress.org/frankevp/) 2026 年 1 月 13 日

Yes, you could code this yourself accessing Google API, and also have to maintain
your code. For $19 a complete solution is provided. So unless you can do the coding
in 15 minutes, buy the plugin 🙂

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

### 󠀁[Really an excellent plugin !](https://wordpress.org/support/topic/really-an-excellent-plugin-3/)󠁿

 [joy0114](https://profiles.wordpress.org/joy0114/) 2025 年 12 月 31 日

Great plugin, very effective and simple. Excellent documentation, reliable support
available from a truly competent developer. And for even greater simplicity and 
time savings: the premium version is definitely worth it, really !

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

### 󠀁[Does just what it claims](https://wordpress.org/support/topic/does-just-what-it-claims-2/)󠁿

 [smaese](https://profiles.wordpress.org/smaese/) 2025 年 12 月 25 日

It gives you accurate and professional autocomplete just like it claims. Download
it now!

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

### 󠀁[Invaluable Plug-In](https://wordpress.org/support/topic/invaluable-plug-in/)󠁿

 [jimkatcrewnetworkdotorg](https://profiles.wordpress.org/jimkatcrewnetworkdotorg/)
2025 年 11 月 10 日

Derek and team have a powerful, yet almost seamless plugin. It’s incredibly cost
effective as well. Thanks!

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

### 󠀁[The plugin I needed with amazing support!](https://wordpress.org/support/topic/the-plugin-i-needed-amazing-support/)󠁿

 [riotz](https://profiles.wordpress.org/riotz/) 2025 年 5 月 14 日

Address Autocomplete Anything is an absolute gem! It dropped into my WordPress stack
without a hiccup and instantly elevated the form on my site—no more fat-fingered
addresses or frustrated users. What sold me, though, was the support team. When 
Google Maps results were not filling in NYC boroughs (Brooklyn not filling in properly?—
come on, Google!), I opened a ticket expecting the usual back-and-forth. Instead,
I got thoughtful replies and even a fresh plugin update that bypassed the Google
quirk entirely. No manual tweaks on my end—update, activate, and it worked. That’s
the kind of creative, reliable problem-solving you rarely see. If you need rock-
solid address autocomplete and lightning-fast support, don’t hesitate—this plugin
is the real deal.

 [ 阅读所有14条评价 ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/)

## 贡献者及开发者

「Address Autocomplete Anything」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WP Sunshine ](https://profiles.wordpress.org/wpsunshine/)
 *   [ Derek Ashauer ](https://profiles.wordpress.org/sccr410/)

[帮助将「Address Autocomplete Anything」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/address-autocomplete-anything)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.6

 * Update: Fix fatal errors

#### 1.2.5

 * Update: Tested up to WP 6.9

#### 1.2.4

 * Add: Info about other plugins

#### 1.2.3

 * Fix: Handle when the address component type had “political” as the first value

#### 1.2.2

 * Add: New option to set language for returned address results
 * Add: Build address2 from premise, floor, subpremise, room values automatically
 * Change: More address component fallbacks in case some data is missing from the
   returned result
 * Fix: Handle unique cases like NY burroughs where no locality is returned, use
   sublocality as fallback
 * Fix: Additional countries that use reverse address format
 * Fix: Handle unique cases like NY burroughs where no locality is returned, use
   sublocality as fallback

#### 1.2.1

 * Fix: “postal_town” fallback when “locality” is not present
 * Fix: Trigger jQuery change event on populated input if jQuery is used on the 
   page just in case
 * Enhancement: Look for select option label for possible match as well when setting
   values

#### 1.2

 * Enhancement: Set multiple allowed pages for each instance

#### 1.1.6

 * More console logging to help debug
 * NL added to list of countries to do reverse street address format

#### 1.1.5

 * Fix – Load Google maps with async

#### 1.1.4

 * Fix – Handle address1 when there is no street number

#### 1.1.3

 * Update – Allows more than just addresses, will now accept establishment names
 * Fix – Spaces causing issues in before/after attributes

#### 1.1.2

 * Fix – stripslashes on CSS selectors to handle quotes when saving settings

#### 1.1.1

 * Fix – Enqueue Google Maps requires callback function

#### 1.1

 * Update – Better input replacement method and allow for “before” and “after” attributes
 * Add – Minified version of frontend.js for even smaller footprint

#### 1.0.2

 * Fix – Handle special case UK city/county things

#### 1.0.1

 * Add – “wps_aa_load_scripts” filter to allow disabling loading of JS files as 
   requested by user for GDPR compliance

#### 1.0

 * Change – Complete redo of the way selectors and data fields are chosen for population
   for even more flexibility

#### 0.3

 * Update documentation links throughout and link to review
 * Release to repo for the first time

#### 0.2

 * Fix – More esc_* and sanitization

#### 0.1

 * Initial submission to repo

## 商业插件

该插件免费，但提供额外的付费商业升级或支持服务。

## 额外信息

 *  版本 **1.2.6**
 *  最后更新：**4 月前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/address-autocomplete-anything/)
 * 标签
 * [address](https://cn.wordpress.org/plugins/tags/address/)[autocomplete](https://cn.wordpress.org/plugins/tags/autocomplete/)
   [form](https://cn.wordpress.org/plugins/tags/form/)[GravityForms](https://cn.wordpress.org/plugins/tags/gravityforms/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/address-autocomplete-anything/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  14 条 5 星评价     ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/address-autocomplete-anything/reviews/)

## 贡献者

 *   [ WP Sunshine ](https://profiles.wordpress.org/wpsunshine/)
 *   [ Derek Ashauer ](https://profiles.wordpress.org/sccr410/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/address-autocomplete-anything/)