Address Autocomplete Anything – Google Address Autocomplete for Any Form
Address Autocomplete Anything adds Google’s address suggestions to any form on your WordPress site. Someone starts typing their street address, picks the right one from the list, and the rest of the address fills itself in: city, state, ZIP or postal code, and country. Your customers type less, and you get addresses spelled the way the post office spells them. I first built it for my photography plugin, Sunshine Photo Cart, then realized it could work with anything that has an address field (hence the name). Checkout pages, donation forms, membership sign ups, booking forms and contact forms all work, because it isn’t tied to any one plugin. See how it works on the Address Autocomplete website Set it up by clicking your form’s fields In the settings, choose the page with your form and click “Pick fields”. The plugin opens your form in a new tab, finds the address fields and tags each one as the street address, city, state, ZIP or country. Check the tags, click Done, and the fields show up on the settings page, ready to save. You don’t need to write any code or dig through your page’s HTML. If your form is in a popup or on the second step of a multi-step form, pause the picker, open the popup or go to that step, then carry on picking. If you’re comfortable with CSS selectors, you can still type them in yourself. How to find your CSS selectors Addresses that fit your form Only the countries you want. Limit suggestions to the countries you ship to or serve. If your form has a country dropdown, the suggestions follow whichever country the customer picks. Street format that matches the country. A US address fills in as “2510 Sunny Ridge Ln” and a German one as “Hauptstraße 12”, with nothing for you to set up. Full names or short codes. Fill a state field with “California” or “CA”, and a country field with “United States” or “US”, whichever your form expects. Several parts in one field. Add text before or after a value, or combine parts of the address into one field, like a single “City, State ZIP” line. Backups for missing data. When Google doesn’t return part of an address, choose what to use instead, like the postal town when there’s no city. Your language. Show suggestions in the language you choose, or match each visitor’s browser. Only where it’s needed. Load it only on the pages with your form, so the rest of your site doesn’t load Google’s script. What you need You need a Google Maps API key with the Maps JavaScript API and Places API (New) turned on. A setup wizard walks you through it the first time you turn on the plugin, and the Test key button checks your key with Google. If something is wrong, like billing that isn’t set up or an API that isn’t turned on, it tells you in plain words what to fix. Google asks for billing details, but every account gets 10,000 free autocomplete requests a month, which is more than most sites will ever use. More on what Google charges Address Autocomplete Premium The free version sets up autocomplete on one form. Address Autocomplete Premium adds: One-click setup for 11 plugins. Turn it on for WooCommerce (classic and block checkout, billing and shipping), Gravity Forms (the Address field), Easy Digital Downloads (checkout and account page), LifterLMS, Paid Memberships Pro (billing and shipping), MemberPress, GiveWP, Charitable, Paymattic, Tutor LMS and FluentCart, with no fields to pick. As many forms as you need. Set it up on your checkout, your donation form and your contact form, each with its own fields and countries. More of Google’s data. Fill fields with the street number and street name separately, the business or place name, apartment or unit, neighborhood, sub locality, county, and latitude and longitude for maps. Learn more about Address Autocomplete Premium External services Google Maps Platform. The address suggestions come from Google. On the pages you choose, the plugin loads Google’s Maps JavaScript API with your API key. As a visitor types into the address field, what they type goes to Google, which sends back matching addresses. The Test key button also sends your API key to Google to check it. Google’s terms of service and privacy policy apply. WP Sunshine email list. The setup wizard offers to sign you up for emails about the plugin. When you click “Sign up and continue”, the plugin sends the first name and email you entered, plus your site’s time zone, to wpsunshine.com. Nothing is sent if you skip that step. See the WP Sunshine privacy policy.
Custom Permalinks
You want to take control of your WordPress site’s URLs? The Custom Permalinks plugin gives you the power to set unique, custom URLs for any post, page, tag, or category. This means you can design your site’s structure exactly how you envision it, rather than being limited by WordPress’s default settings. When you set a custom permalink, the original post URL will be automatically redirected to your new, customized URL. Key Features Individual Permalink Control: Assign unique URLs to any post, page, tag, or category. Site Structure Control: Gain ultimate control over how your site’s URLs are organized. Post Type Permalink Structures (v3.0.0+): Define custom permalink structures for each public Post Type using predefined tags, automatically generating URLs upon content creation. You can still manually edit any permalink. If left empty, default settings will apply. Automatic Redirects: Old URLs keep working — visitors and search engines are redirected to the new custom permalink automatically. Getting Started: Plugin Settings You can configure Custom Permalinks by navigating to Settings > Custom Permalinks in your WordPress Dashboard. To set a permalink for an individual post, page, category, or tag, edit that item and look for the Custom Permalink field near the top (or in the sidebar) of the editor screen — enter the URL path you want and save. Available Tags for Permalink Structures When setting up your custom permalink structures, you can use a variety of tags that will dynamically populate the URL. Here’s a breakdown of what’s available: %year%: The year of the post in four digits, eg: 2025 %monthnum%: Month the post was published, in two digits, eg: 01 %day%: Day the post was published in two digits, eg: 02 %hour%: Hour of the day, the post was published, eg: 15 %minute%: Minute of the hour, the post was published, eg: 43 %second%: Second of the minute, the post was published, eg: 33 %post_id%: The unique ID of the post, eg: 123 %category%: A clean version of the category name (its slug). Nested sub-categories will appear as nested directories in the URL.. %author%: A sanitized version of the post author’s name. %postname%: A clean version of the post or page title (its slug). For example, “This Is A Great Post!” becomes this-is-a-great-post in the URL. %parent_postname%: Similar to %postname%, but uses the immediate parent page’s slug if a parent is selected. %parents_postnames%: Similar to %postname%, but includes all parent page slugs if parents are selected. %title%: The title of the post, converted to a slug. For example, “This Is A Great Post!” becomes this-is-a-great-post. Unlike %postname% which is set once, %title% automatically updates in the permalink if the post title changes (unless the post is published or the permalink is manually edited). %ctax_TAXONOMY_NAME%: A clean version of a custom taxonomy’s name. Replace TAXONOMY_NAME with the actual taxonomy name. You can also provide a default slug for when no category/taxonomy is selected by using ?? (e.g., %ctax_type??sales% will use “sales” as a default). %ctax_TAXONOMY_NAME_name%: The custom taxonomy term’s name (instead of its slug). Replace TAXONOMY_NAME with the actual taxonomy name. Supports a default value using ?? when no term is selected (e.g., %ctax_type_name??Sales%). %ctax_parent_TAXONOMY_NAME%: Similar to %ctax_TAXONOMY_NAME%, but includes the immediate parent category/tag slug in the URL if a parent is selected. %ctax_parent_TAXONOMY_NAME_name%: Similar to %ctax_TAXONOMY_NAME_name%, but includes the immediate parent term’s name if a parent is selected. %ctax_parents_TAXONOMY_NAME%: Similar to %ctax_TAXONOMY_NAME%, but includes all parent category/tag slugs in the URL if parents are selected. %ctax_parents_TAXONOMY_NAME_name%: Similar to %ctax_TAXONOMY_NAME_name%, but includes all parent term names if parents are selected. %custom_permalinks_TAG_NAME%: Developers have the flexibility to define their own custom tags(replace _TAG_NAME with your desired name). To ensure these tags resolve to the correct permalinks, simply apply the custom_permalinks_post_permalink_tag filter. Important Note: For new posts, Custom Permalinks will keep updating the permalink while the post is in draft mode, assuming a structure is defined in the plugin settings. Once the post is published or its permalink is manually updated, the plugin will stop automatic updates for that specific post. Custom Permalinks: Fine-Tuning with Filters Custom Permalinks offers a range of filters that empower developers to precisely control its behavior. You can explore all available filters, complete with example code snippets, in our GitHub repository. For Assistance: Premium Users: If you need assistance implementing these filters, please don’t hesitate to reach out to us via our Premium contact support. Other Users: You can also directly reach out to the plugin author via LinkedIn. Need Help or Found a Bug? Support: For one-on-one email support, consider purchasing Custom Permalinks Premium. While some basic support may be provided on the WordPress.org forums, email support is prioritized for premium users. Bug Reports: If you encounter a bug, please report it on GitHub. Make sure to provide complete information to reproduce the issue. GitHub is for bug reports, not general support questions. If you experience any site-breaking issues after upgrading, please report them on the WordPress Forum or GitHub with detailed information. You can always revert to an older version by downloading it from https://wordpress.org/plugins/custom-permalinks/advanced/.