Current Location lets visitors view and update the location GEO my WP uses for their session. It can support nearby searches and visitor-specific location displays without changing permanent directory records.
Add a current-location display
[gmw_current_location elements="address,map,location_form"]
Put the shortcode in processed page content or a supported shortcode element. The built-in component is always active. Configure the map/geocoding provider for address and map operations.
How visitors provide a location
The location form supports manual address entry and applicable locator controls. Automatic detection is a separate site setting. Browser detection needs permission and a secure context; provider accuracy and device/network conditions affect the result.
If the IP Address Locator extension is configured, it supplies its own approximate detection method. An IP estimate should not be treated as an exact device or street address. Let visitors correct the location.
Understand the saved state
GEO my WP keeps current-location state in browser cookies for features that use it. Address/map elements can be absent until a location is known. A visitor can use the location form to update or clear that state.
A current location is distinct from a BuddyPress member's saved directory location or a post's location. Changing it does not update those records. A form also needs its own visitor-location query option to use it for initial nearby results.
Test the experience
- Check the first visit before a location exists.
- Test manual entry and a successful locator lookup.
- Test denied browser permission and unavailable geocoding.
- Update/clear the location and check dependent searches.
- Review guest and signed-in output on a phone.
