{"id":153277,"date":"2022-02-11T19:49:03","date_gmt":"2022-02-11T19:49:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/address-autocomplete-anything\/"},"modified":"2025-12-09T14:42:19","modified_gmt":"2025-12-09T14:42:19","slug":"address-autocomplete-anything","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/address-autocomplete-anything\/","author":18652475,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.6","stable_tag":"1.2.6","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Address Autocomplete Anything","header_author":"WP Sunshine","header_description":"Add address autocomplete to any form including many popular e-commerce and form plugins.","assets_banners_color":"fff8f0","last_updated":"2025-12-09 14:42:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpsunshine.com\/plugins\/address-autocomplete","header_author_uri":"https:\/\/wpsunshine.com","rating":5,"author_block_rating":0,"active_installs":900,"downloads":11946,"num_ratings":14,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.3":{"tag":"0.3","author":"wpsunshine","date":"2022-05-06 16:34:11"},"1.0":{"tag":"1.0","author":"wpsunshine","date":"2022-05-06 16:43:37"},"1.0.1":{"tag":"1.0.1","author":"wpsunshine","date":"2022-05-23 17:50:23"},"1.1":{"tag":"1.1","author":"wpsunshine","date":"2022-11-17 22:11:58"},"1.1.1":{"tag":"1.1.1","author":"wpsunshine","date":"2023-01-23 17:19:07"},"1.1.2":{"tag":"1.1.2","author":"wpsunshine","date":"2023-03-30 17:19:59"},"1.1.3":{"tag":"1.1.3","author":"wpsunshine","date":"2023-06-16 17:11:37"},"1.1.4":{"tag":"1.1.4","author":"wpsunshine","date":"2023-12-13 17:32:13"},"1.1.5":{"tag":"1.1.5","author":"wpsunshine","date":"2024-03-21 15:15:43"},"1.1.6":{"tag":"1.1.6","author":"wpsunshine","date":"2024-07-17 01:01:59"},"1.2":{"tag":"1.2","author":"wpsunshine","date":"2024-08-12 15:59:39"},"1.2.1":{"tag":"1.2.1","author":"wpsunshine","date":"2025-02-17 21:30:10"},"1.2.2":{"tag":"1.2.2","author":"wpsunshine","date":"2025-06-17 15:05:30"},"1.2.3":{"tag":"1.2.3","author":"wpsunshine","date":"2025-07-31 15:01:12"},"1.2.5":{"tag":"1.2.5","author":"wpsunshine","date":"2025-12-08 22:06:56"},"1.2.6":{"tag":"1.2.6","author":"wpsunshine","date":"2025-12-09 14:42:19"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":14},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2677355,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2677355,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2677355,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2677355,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","1.0","1.0.1","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2","1.2.1","1.2.2","1.2.3","1.2.5","1.2.6"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2677376,"resolution":"1","location":"assets","locale":""},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":2677355,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings","2":"Sample form showing how address autocompletes works"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3513,3226,361,9775,286],"plugin_category":[42,45,49],"plugin_contributors":[229461,198136],"plugin_business_model":[216238],"class_list":["post-153277","plugin","type-plugin","status-publish","hentry","plugin_tags-address","plugin_tags-autocomplete","plugin_tags-form","plugin_tags-gravityforms","plugin_tags-woocommerce","plugin_category-contact-forms","plugin_category-ecommerce","plugin_category-maps-and-location","plugin_contributors-sccr410","plugin_contributors-wpsunshine","plugin_business_model-commercial","plugin_committers-wpsunshine"],"banners":{"banner":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/banner-772x250.png?rev=2677355","banner_2x":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/banner-1544x500.png?rev=2677355","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/icon-128x128.png?rev=2677355","icon_2x":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/icon-256x256.png?rev=2677355","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/screenshot-1.jpg?rev=2677376","caption":"Plugin settings"},{"src":"https:\/\/ps.w.org\/address-autocomplete-anything\/assets\/screenshot-2.gif?rev=2677355","caption":"Sample form showing how address autocompletes works"}],"raw_content":"<!--section=description-->\n<p>This plugin is unique in that it allows you to add a Google Address Autocomplete to <em>anything<\/em> 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!<\/p>\n\n<p>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, <a href=\"https:\/\/wordpress.org\/plugins\/sunshine-photo-cart\/\">Sunshine Photo Cart<\/a>, I realized I could make this available to work for <em>anything<\/em>.<\/p>\n\n<h3>How it works<\/h3>\n\n<p>By using CSS selectors (don't worry non-tech person, it is easier than you think and a <a href=\"https:\/\/wpsunshine.com\/documentation\/finding-your-css-selectors\/?utm_source=wordpress.org&amp;utm_medium=link&amp;utm_campaign=address-autocomplete-readme\">simple help article and video is available<\/a>!), 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.<\/p>\n\n<h3>What you need<\/h3>\n\n<p>You only need to <a href=\"https:\/\/wpsunshine.com\/documentation\/google-maps-api-key\/?utm_source=wordpress.org&amp;utm_medium=link&amp;utm_campaign=address-autocomplete-readme\">get a Google Maps API key<\/a>. Although billing info is required, <em>most<\/em> sites will never be charged as the free limit is quite high.<\/p>\n\n<p><a href=\"https:\/\/wpsunshine.com\/doccat\/address-autocomplete\/?utm_source=wordpress.org&amp;utm_medium=link&amp;utm_campaign=address-autocomplete-readme\">Visit the documentation<\/a><\/p>\n\n<h3>Upgrade to Premium<\/h3>\n\n<ul>\n<li>Get unlimited instances on your site<\/li>\n<li>More detailed data fields (latitude, longitude, county, neighborhood, sub localities, etc) to use for population<\/li>\n<li>Automatically integrate with popular e-commerce and form plugins with one-click set up:\n\n<ul>\n<li>WooCommerce (Shortcode and Block Checkout, My Address in Account)<\/li>\n<li>Gravity Forms (Address Field)<\/li>\n<li>LifterLMS<\/li>\n<li>Paid Memberships Pro<\/li>\n<li>...and more coming <em>very<\/em> soon!<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/wpsunshine.com\/plugins\/address-autocomplete\/?utm_source=wordpress.org&amp;utm_medium=link&amp;utm_campaign=address-autocomplete-readme\">Get Premium here<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload and activate the plugin<\/li>\n<li>Get a Google Maps API key<\/li>\n<li>Go to Settings &gt; Address Autocomplete and to enter Google Maps API key and form settings<\/li>\n<li>Get the CSS selectors for your form and put into the settings<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Update: Fix fatal errors<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Update: Tested up to WP 6.9<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Add: Info about other plugins<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Fix: Handle when the address component type had \"political\" as the first value<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Add: New option to set language for returned address results<\/li>\n<li>Add: Build address2 from premise, floor, subpremise, room values automatically<\/li>\n<li>Change: More address component fallbacks in case some data is missing from the returned result<\/li>\n<li>Fix: Handle unique cases like NY burroughs where no locality is returned, use sublocality as fallback<\/li>\n<li>Fix: Additional countries that use reverse address format<\/li>\n<li>Fix: Handle unique cases like NY burroughs where no locality is returned, use sublocality as fallback<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix: \"postal_town\" fallback when \"locality\" is not present<\/li>\n<li>Fix: Trigger jQuery change event on populated input if jQuery is used on the page just in case<\/li>\n<li>Enhancement: Look for select option label for possible match as well when setting values<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Enhancement: Set multiple allowed pages for each instance<\/li>\n<\/ul>\n\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>More console logging to help debug<\/li>\n<li>NL added to list of countries to do reverse street address format<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Fix - Load Google maps with async<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Fix - Handle address1 when there is no street number<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Update - Allows more than just addresses, will now accept establishment names<\/li>\n<li>Fix - Spaces causing issues in before\/after attributes<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fix - stripslashes on CSS selectors to handle quotes when saving settings<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix - Enqueue Google Maps requires callback function<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Update - Better input replacement method and allow for \"before\" and \"after\" attributes<\/li>\n<li>Add - Minified version of frontend.js for even smaller footprint<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix - Handle special case UK city\/county things<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Add - \"wps_aa_load_scripts\" filter to allow disabling loading of JS files as requested by user for GDPR compliance<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Change - Complete redo of the way selectors and data fields are chosen for population for even more flexibility<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Update documentation links throughout and link to review<\/li>\n<li>Release to repo for the first time<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fix - More esc_* and sanitization<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial submission to repo<\/li>\n<\/ul>","raw_excerpt":"Easily integrate Google Address Autocomplete to anything on your WordPress website!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153277"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpsunshine"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153277"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153277"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153277"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153277"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153277"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}