Use Meta Fields Geolocation when a form, profile editor or custom integration already saves addresses in supported metadata. Configure the source field, then verify that its updates produce the intended GEO my WP location.
Before you configure a mapping
- Install GEO my WP and Meta Fields Geolocation.
- Enable the locator for the relevant record type. User and BuddyPress group directories need their corresponding locator extensions.
- For BuddyPress workflows, enable the applicable BuddyPress components.
- Configure a working GEO my WP geocoder.
- Identify a test record and the actual stored address field, including its value format.
Use a development copy for tests that clear addresses or delete fields: those operations can also delete the mapped location.
Identify the source key and value
A meta key is the field's storage name, such as business_address. It is not necessarily the label beside the input. Check your field or form configuration to confirm that it saves post meta, user meta, supported BuddyPress group meta or the selected xProfile field for the intended record.
The handler accepts an address string. It also accepts a nonempty array with an address value and uses that value as the address. It ignores empty arrays or arrays without an address. It does not join arbitrary separate street, city and postcode fields; accompanying coordinates are not a substitute for this address-geocoding workflow.
An integration that writes directly to database tables without the expected metadata hooks will not produce the same update events. Test the actual frontend form, importer or custom function being used.
Enable and map a component
- Open GEO my WP → Settings.
- Open the settings for Posts Locator, WordPress Users Locator, BuddyPress Members Locator or BuddyPress Groups Locator, according to the target record.
- Open its Meta Fields Geolocation section.
- Enable the component's integration.
- Enter the exact meta key for the default location in the offered Meta Fields group. For a BuddyPress xProfile address, select the field in BuddyPress Xprofile Fields.
- Save the settings.
Post mappings use post metadata. WordPress user mappings use user metadata. The BuddyPress member xProfile mapping uses the selected field ID and listens to xProfile data-save and delete events. BuddyPress group mappings require the supported group metadata workflow.
Map additional location types
When Multiple Locations is active and additional location types are registered, the settings add a mapping for each available type. Choose the field belonging to that type. For example, a branch type can use a different source key from the default address.
Use distinct mappings when the target locations differ. The handler resolves a matching key to a location type; reusing one key for several targets does not create a reliable one-to-many mapping. Confirm that each additional type still exists before relying on it.
Test adding and changing an address
- Use the actual form or profile editor to add a valid address to your test record.
- Save it and inspect its GEO my WP location.
- Check the address, coordinates, record ownership and location type.
- Search from a suitable nearby origin with a form that includes this record type.
- Change the source address and repeat the location and frontend checks.
The extension uses geocoding before saving an address-based location. If the existing location already has the same address, it skips that geocoding work. A successful form submission alone does not prove that the geographic record was saved correctly.
Process existing address fields deliberately
Saving the mapping settings does not backfill existing records. The integration processes supported field-addition or change events. WordPress may skip its updated-meta event when the new value is identical to the stored value, so pressing Save without a value change is not a reliable backfill method.
Test any planned existing-data processing method on a small development sample. Confirm that it targets the correct record IDs, triggers the required metadata workflow and respects geocoding provider limits. This extension's settings are not a bulk-import preview or scheduling screen.
Understand clearing and deletion
For a mapped address string, clearing it or processing its supported delete event can delete the corresponding GEO my WP location. A location-type mapping targets that type's location. Empty arrays or arrays without an address return early in the inspected handler instead of following the blank-string deletion branch.
Check the clearing format produced by your field plugin. Test blank strings, removed fields and any structured field value separately before deciding how users should remove a location.
Check reverse updates before using two editors
Do not assume that changing a location through GEO my WP's default location form updates the original meta field. In the inspected 1.0.1 implementation, the reverse-update handler returns early for a default location. Its additional-location-type branch can write the mapped address back when the mapping and Multiple Locations integration are available.
If your project needs both editors, verify each direction for the installed version. Otherwise, keep the mapped field as the clear entry point and avoid relying on an unverified reverse update.
If a location is missing or stale
- Confirm the component enable setting, mapping key and target record.
- Check whether the saved value is a usable address string or a supported array.
- Confirm that an actual add/change event ran rather than only saving an unchanged value.
- Verify the geocoder configuration and provider response.
- For an additional location, check its location type and Multiple Locations integration.
- If the location is saved but absent from the directory, check that form's record type, filters and radius.
