Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Geolocation icon

Geolocation

v1.20.0
by Chris · 4.2 (10 reviews)

Lightweight display the location information of your post in a map (GDPR comliant). Ideal for travelbloggers or anyone who would like to show the loca …

300+ active installs Updated Oct 20, 2026 Tested to 7.1.5 Requires PHP 8.3
Try Demo Download
Pre-installed Ready in ~10s No card

About Geolocation

The Geolocation plugin allows WordPress users to add location information to their posts, either by geotagging the post or by adding a featured image with GPS coordinates. Visitors can then see a short description of the address and view the post's exact location on a map. The plugin supports both Google Maps and Open Streetmaps, but a Google Maps API key is required for the Google Maps option.

Screenshots

Geolocation screenshot
Geolocation screenshot
Geolocation screenshot
Geolocation screenshot
Geolocation screenshot
Geolocation screenshot

Changelog

1.20.0

  • new: existing posts without a location can get the location of their featured image, read once in the background from the settings page.
  • new: the settings page converts the shortcodes of existing pages and posts into the blocks, keeping their categories, tags, size, zoom and route.
  • new: the elevation profile follows the pointer, a tap or the arrow keys, shows distance and elevation, and the map marks the same place of the track (OpenStreetMap).
  • performance: overview maps load the featured images of their posts at once instead of one by one.

1.19.0

  • PHP 8.3 and WordPress 6.4 or newer are required.
  • Google Maps is no longer developed further and no longer offered to new installations. Websites which use it keep it, as long as an API key is stored, and see a notice about it in the admin area.
  • fix: after “Remove location” the location is switched off and the editor no longer shows a marker at a default position.

1.18.0

  • new: posts created by an app or through the API also get the location of their featured image; a setting decides whether such a location is public.
  • new: the list of posts shows the location of every post, and editing several posts at once can publish their locations or take that back.
  • fix: a location removed in the editor no longer comes back from the featured image when the post is saved again.

1.17.0

  • performance: the map library (Leaflet or the Google Maps API) is only loaded once a map scrolls into view or a visitor points at a location link.
  • performance: fewer database queries on websites whose settings have not been saved since an update.

1.16.0

  • new: an optional link opens the location of a post in OpenStreetMap or Google Maps, depending on the selected provider.
  • new: a notice can be shown before a visitor follows that link and leaves your website; in strict privacy mode it is always shown.
  • fix: on narrow screens the map of a post is no longer wider than the screen with block themes.

1.15.1

  • the strict privacy mode also covers the admin area: without the proxy the post editor and the settings page show no map, and addresses are looked up through your own server.

1.15.0

  • new: with the OSM tiles proxy plugin the tiles of your maps can be pre-cached from the settings page, so the first visitor does not have to wait for them. This covers the maps of the posts and the overview maps.
  • new: the tiles are pre-cached automatically when a page or post is saved; this can be switched off in the settings.

1.14.1

  • new: the key figures and the elevation profile of a track can be switched off in the settings, or shown and hidden per post in the block “Post Location”.

1.14.0

  • new: a post can carry the track of a GPX file. The file is read in the browser, only the simplified line is stored.
  • new: the map of a post shows its track; an overview map with route=”1″ draws the tracks as recorded and the gaps between them as dashed lines.
  • new: a post shows the key figures of its track (length, ascent, descent, highest point) and, below a map, the elevation profile.
  • new: the block “Post Location” shows the location of a post wherever it is placed, with its own display mode and map size.
  • new: both blocks show a live preview in the block editor.
  • new: the setting “Shorten tracks” hides the start and the end of every track, e.g. to keep a home address private.

1.13.0

  • new: the block “Geolocation Map” shows the overview map in the block editor without typing a shortcode; posts, size, zoom and route are chosen in the settings of the block.

1.12.0

  • new: the popups on the overview map show the featured image, the date and the excerpt of a post.
  • new: markers lying close together on the overview map are grouped.
  • new: the shortcode of an overview map accepts the attributes cat, tag, width, height and zoom, e.g. [geolocation cat=”travel” height=”400″].
  • new: the attribute route=”1″ connects the locations of an overview map with a line, in the order of the post dates.
  • new: a page can contain several overview maps.
  • new: the attributes are explained in the “Help” tab of the settings page.
  • the settings page explains which tiles URL is in use when the proxy plugin is active.

1.11.0

  • new: set the location in the editor by clicking on the map or dragging the marker (OpenStreetMap; dragging also with Google Maps).
  • new: “My location” button in the editor to use the position reported by your browser.

1.10.4

  • new: strict privacy mode (GDPR) for OpenStreetMap. Maps are only shown if the tiles are delivered by the proxy plugin; otherwise only the location text is shown.
  • maps keep working if the tiles proxy plugin does not provide a tiles URL.

1.10.3

  • added the German variants (formal, Austria, Switzerland) and completed the German translation.
  • added Spanish, French, Italian, Brazilian Portuguese and Dutch translations.

1.10.2

  • the support links now point to the issues of the plugin’s GitHub repository.

1.10.1

  • the author link now points to the plugin’s GitHub repository.

1.10.0

  • new: a location can be removed from a post in the editor.
  • new: the OSM tiles and Nominatim URLs can be changed in the settings.
  • scripts and styles are only loaded where a location is shown and maps are created when they scroll into view.
  • addresses are cached and “update all addresses” now runs in the background.
  • updated Leaflet to 1.9.4.
  • fixed the city derived by Google reverse geocoding and the hemisphere of locations read from a featured image.
  • multiple fixes, security hardening and compliance with the WordPress coding standards.

1.9.9

  • fixing visibility

1.9.7

  • fixing javascript calls and settings initialization

1.9.6

  • enhancing address attribute options for OSM display of locations.
  • fixing nonce array verify in case not yet filled.

1.9.5

  • fixing GPS location detection from featured image.

1.9.4

  • fixing unneeded call for location (thx @alexterz)

1.9.3

  • fixing issue with osm reverse geocode

1.9.2

  • fixing issue with page display

1.9.1

  • fixing page display to also reflect ‘public’ flag accordingly: no logged in user –> only public locations; if logged in –> all locations

1.9.0

  • eliminating the presence of the geo-div on non-geo pages
  • removing orphaned code elements
  • fixing missing div-tag for geolocation-link
  • fixing ‘public’ flag functionality: if geo is switched on, a location is always shown if the flag is enabled but when it is not enabled, the geoinformation is only shown to logged in users.
  • adding new display option: Simple map (static) that is always shown and not only when hovering over the link.

1.8.2

  • fixing clean_coordinates

1.8.1

  • fixing add_geo_support

1.8.0

  • conditional load for js-libs for page and posts display (only loaded if geo data is available).

1.7.6

  • extending reverse geocoding: if ‘load’ is used, the name of the location will be determinded automatically. One can overwrite the name however if updating the text-field and saving the post without re-applying the ‘load’ button.

1.7.5

  • fix: skipping additional reverse geocode when saving if address is already available
  • fix: lib/css usage at footer

1.7.4

  • reverse geocode fixes

1.7.3

  • sanitizing fixes

1.7.2

  • fixing save method

1.7.1

  • fixing timing for osm page display

1.7

  • enabling live preview of all settings in settings panel
  • fixing custom image incl. shadow, i.e, WP-pin display
  • enforcing WPCS rules for this plugin

1.6

  • removal of jQuery usage (vanilla JavaScript)
  • reducing calls for reverseGeocode in OpenStreetMap
  • embedding leaflet js and css to ommit external request to 3rd parties
  • adjusting google maps scripts to reflect latest API changes
  • removing orphaned js-lib
  • fixing several minor bugs including code cleanup

1.5.3

  • bugfix for deriving the geodata from the featured image

1.5.2

  • fixing typos 🙁

1.5.1

  • fixing reverseGeocode on empty address

1.5

  • new function: when there is no geoinformation at a particular post, the plugin tries to receive it from the featured image gps data instead.
  • code cleanup

1.4

  • translations
  • split funcitons by providers
  • fixing zoom issue for osm when hovering over link

1.3

  • code cleanup
  • enhancing plugin options in install functionality

1.2

  • introduce dynamic preview in settings page to directly see the effect instead of displaying fixed images

1.1.1

  • bugfix for OSM urls when searching for a location or the location is reverse geocoded from lat and lon

1.1

1.0

  • introducing OSM as an alternative for google maps by using leaflet-api
  • for new installations, OSM is the default
  • preparing readyness for osm tile proxy plugin to overcome DSGVO/GDPR tracking

0.7.4

  • fixing issue with missing reset in subquery within THE_LOOP

0.7.3

  • disabling unfinished osm support

0.7.2

  • settings bugfix

0.7.1

  • various tiny bug fixes

0.7

  • code reorganization
  • preparation of variable SHORTCODE
  • preparation of OSM usage within plugin
  • on plugin deletion, options and addresses are removed
  • jQuery refrerence was fixed for compatibility with WP_DEBUG switch

0.6.2

  • fixed issue in admin panel where map was not displayed

0.6.1

  • code cleanup minor things

0.6.2

  • fixed issue in admin panel where map was not displayed

0.6

  • optimizing ‘update all Addresses’
  • introducing ‘page mode’, i.e., usage of [geolocation] in a page to provide a map with multiple locations shown together

0.5.3

  • fixing ‘update all Addresses’ to really process al posts providing geolocation information (and not just the first few entries).

0.5.2

  • fixed bugs
  • moved screenshots from plugin to asset folder (shown on description and thus not locally neccessary)
  • added plugin icon 😉

0.5.1

  • fixed bugs

0.5

  • improved “plain” option: google-apis are no longer loaded for a visiting user but only if a backend user is logged in.
  • reverse geocoding now uses the website language for the texts being shown and locally stored (also to be seen in admin panel)
  • added feature to “re-run” address determination, i.e., update all geodata posts with proper address information (also respecting the language of the given site)

0.4.2

  • fixing bug in saving geolocation to post_meta

0.4.1

  • starting GDPR/DSGVO compliant “show only” mode without accessing any external services
  • fixing http to https accesses
  • fixed reverse geocoding

0.4

  • visualization enhanced: display geolocation either as plain text or as simple text incl. map w/mouse over (default till now)
  • since Google changed their policy and an API key is required, the plugin will now show an error message if this key is missing.

0.3.7

  • re-enabled the usage without API key

0.3.6

  • fixed reverse geocoding

0.3.5

  • fixed default_settings

0.3.4

  • fixed update hook

0.3.3

  • fixed display by applying update hook

0.3.2

  • fixed display

0.3.1

  • fixes Google Maps API key option
  • fixed Google Link
  • performance/code optimizations

0.3

  • introduced Google Maps API key option
  • starting i18n for EN and DE

0.2.2

  • code optimizations

0.2.1

  • fixed some left overs from the previus release

0.2

  • updated Google API calls to recent version
  • taking over ownership for plugin 🙂

0.1.1

  • Added ability to turn geolocation on and off for individual posts.
  • Admin Panel no longer shows up when editing a page.
  • Removed display of latitude and longitude on mouse hover.
  • Map link color now defaults to your theme.
  • Clicking map link now (properly) does nothing.

0.1

  • Initial release.

Try other plugins