Title: Address Geocoder
Author: Marty Spellerberg
Published: <strong>16 Masg 2012</strong>
Last modified: 23 Sginer 2019

---

Search plugins

![](https://ps.w.org/address-geocoder/assets/banner-772x250.png?rev=1400499)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/address-geocoder/assets/icon-256x256.png?rev=1400499)

# Address Geocoder

 By [Marty Spellerberg](https://profiles.wordpress.org/martyspellerberg/)

[Download](https://downloads.wordpress.org/plugin/address-geocoder.zip)

 * [Details](https://lmo.wordpress.org/plugins/address-geocoder/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/address-geocoder/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/address-geocoder/#installation)
 * [Development](https://lmo.wordpress.org/plugins/address-geocoder/#developers)

 [Support](https://wordpress.org/support/plugin/address-geocoder/)

## Description

The Address Geocoder plugin lets you attach coordinates to your posts, pages, and
custom post types. On your edit screens, simply enter an address into the metabox
and hit “Geocode”.

This plugin uses Google Maps API v3 to translate an address to lat/lng coordinates.
A Google Maps API key is required.

### Fequently Asked Questions

#### How do I retrieve the coordinates?

Access your data in the loop using the following functions, with the post ID passed
as a parameter. For the full coordinates (in brackets):

    ```
    <?php echo get_geocode_latlng( $post->ID ); ?>
    ```

For the Latitude:

    ```
    <?php echo get_geocode_lat( $post->ID ); ?>
    ```

For the Longitude:

    ```
    <?php echo get_geocode_lng( $post->ID ); ?>
    ```

For the Address:

    ```
    <?php echo get_geocode_address( $post->ID ); ?>
    ```

## Screenshots

 * [[
 * The meta box before clicking “Geocode”
 * [[
 * The meta box after clicking “Geocode”
 * [[
 * The settings page

## Installation

 1. Activate the plugin
 2. Go to Settings > Address Geocoder to set your Google Maps API key and choose desired
    post types
 3. Done! You’ll see a “Geocoder” meta box on your edit screens.

## Reviews

![](https://secure.gravatar.com/avatar/205b7aaa73566edc1a93d6b2b572bac03dcddfb0173f60476df751a807b6a893?
s=60&d=retro&r=g)

### 󠀁[Works!](https://wordpress.org/support/topic/works-1808/)󠁿

 [ndawebs](https://profiles.wordpress.org/ndawebs/) 16 November 2020

It is a very useful plugin to use with Facetwp and the map plugin

![](https://secure.gravatar.com/avatar/dbe496dfa859ff247d554cb5aa48a79b9f962fd3c09effae509ef1e6750d7c69?
s=60&d=retro&r=g)

### 󠀁[excellent](https://wordpress.org/support/topic/excellent-3827/)󠁿

 [bort](https://profiles.wordpress.org/b0r7/) 03 Setember 2016

does what it says very well. awesome contribution!

![](https://secure.gravatar.com/avatar/df8a93f528402bcb6ef824cc790dc5ec5aaa43bf5433cf4c269fda88c4ddbfd4?
s=60&d=retro&r=g)

### 󠀁[Works as advertised.](https://wordpress.org/support/topic/works-as-advertised-323/)󠁿

 [b2marketing](https://profiles.wordpress.org/b2marketing/) 03 Setember 2016

Light weight and allows us to select which post types the box should appear on. 
Great! Thanks for providing us with this plugin for free.

![](https://secure.gravatar.com/avatar/6e041ddb05ec5b5220d9bd92b494971b02f900a4f0f15310b51bfd7de66346c5?
s=60&d=retro&r=g)

### 󠀁[Helpful Plugin](https://wordpress.org/support/topic/helpful-plugin-35/)󠁿

 [c1zone](https://profiles.wordpress.org/c1zone/) 03 Setember 2016

Before must tweak at javascript

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/address-geocoder/reviews/)

## Contributors & Developers

“Address Geocoder” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)
 *   [ Matt Gibbs ](https://profiles.wordpress.org/mgibbs189/)

“Address Geocoder” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/address-geocoder/contributors)
for their contributions.

[Translate “Address Geocoder” into your language.](https://translate.wordpress.org/projects/wp-plugins/address-geocoder)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/address-geocoder/),
check out the [SVN repository](https://plugins.svn.wordpress.org/address-geocoder/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/address-geocoder/)
by [RSS](https://plugins.trac.wordpress.org/log/address-geocoder/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Tested compatibility against WP 5.1

#### 1.0

 * Better meta box handling (props @burkeshartsis)
 * Draggable marker (props @burkeshartsis)
 * Various fixes and improvements

#### 0.9.2

 * Minor cleanup
 * Added new icon and banner to wordpress.org plugins page

#### 0.9.1

 * Tested compatibility against WP 4.4

#### 0.9

 * A Google Maps API key is now required. Go to Settings > Address Geocoder to set
   your Google Maps API key.

## Meta

 *  Version **1.0.1**
 *  Last updated **7 years ago**
 *  Active installations **500+**
 *  WordPress version ** 4.8 or higher **
 *  Tested up to **5.1.22**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/address-geocoder/) and [Swedish](https://sv.wordpress.org/plugins/address-geocoder/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/address-geocoder)
 * Tags
 * [coordinates](https://lmo.wordpress.org/plugins/tags/coordinates/)[geocode](https://lmo.wordpress.org/plugins/tags/geocode/)
   [latitude](https://lmo.wordpress.org/plugins/tags/latitude/)[location](https://lmo.wordpress.org/plugins/tags/location/)
   [longitude](https://lmo.wordpress.org/plugins/tags/longitude/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/address-geocoder/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/address-geocoder/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/address-geocoder/reviews/)

## Contributors

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)
 *   [ Matt Gibbs ](https://profiles.wordpress.org/mgibbs189/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/address-geocoder/)