Title: WP Geoloc
Author: Nicolas Blois
Published: <strong>26 janvier 2016</strong>
Last modified: 29 janvier 2016

---

Recherche d’extensions

![](https://ps.w.org/wp-geoloc/assets/banner-772x250.png?rev=1338704)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/wp-geoloc/assets/icon-256x256.png?rev=1338704)

# WP Geoloc

 Par [Nicolas Blois](https://profiles.wordpress.org/bloutch/)

[Télécharger](https://downloads.wordpress.org/plugin/wp-geoloc.zip)

 * [Détails](https://fr.wordpress.org/plugins/wp-geoloc/#description)
 * [Avis](https://fr.wordpress.org/plugins/wp-geoloc/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/wp-geoloc/#installation)
 * [Développement](https://fr.wordpress.org/plugins/wp-geoloc/#developers)

 [Support](https://wordpress.org/support/plugin/wp-geoloc/)

## Description

This plugin adds geolocation functionnalities to your wordpress, it allows you to
find posts around you or a location with a specific distance radius.
 You can select
a specific location with the widget or you can make a request with URL by providing
latitude, longitude and distance as GET parameters. The widget and the shortocode
consists of a Google Autocomplete and a distance range slider.

#### Widget :

Go in widget area, then place the widget in a zone.
 Have fun !

#### Raccourci :

Simply add this code where you want to place the search box : [wpgeoloc]

#### Play with URL:

For example : on an archive page, you are looking restaurants located in a 10 miles
radius from this latitude [50.8385607] and this longitude [4.37526040] :

 * http://www.example.com/category/restaurant?latitude=50.8385607&longitude=4.37526040&
   distance=10

You can do it on the search page with the keyword « super » :

 * http://www.example.com/?s=super&latitude=50.8385607&longitude=4.37526040&distance
   =10

#### Requirement :

If you want to use the widget and the Google place autocomplete, then you need a
Google Places API KEY.
 How to get a Google Places API key : * https://developers.
google.com/places/web-service/get-api-key

### Contributions

 * github : https://github.com/NicolasBlois/wp-geoloc

#### Special Features

 * URL : search with latitude, longitude, distance provided as GET parameters in
   URL.
 * Widget : the widget consists of a Google Autocomplete and a distance range slider.
 * Shortcode : the shortcode generates a Google Autocomplete and a distance range
   slider. Usage : [wpgeoloc]

### Traductions

 * English – default, always included
 * Français

## Installation

#### Installation instructions :

 * Upload to plugins dir
 * Activer l’extension

#### Configuration instructions :

 * If you want to use the widget and the Google place autocomplete, then you need
   a Google Places API KEY. Get your Google Places API key here : https://developers.
   google.com/places/web-service/get-api-key
 * Add a location for each post you wish to geotag. A box is provided for this purpose
   in post edit mode.
 * Enjoy the geolocated requests.

## FAQ

  How to get a Google Places API KEY?

 * Simply follow instructions here : https://developers.google.com/places/web-service/
   get-api-key

## Avis

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

### 󠀁[Great !](https://wordpress.org/support/topic/great-4365/)󠁿

 [Shooppy](https://profiles.wordpress.org/shooppy/) 3 septembre 2016

Great plugin that does exactly what I need 🙂 Keep going !

 [ Lire l’avis ](https://wordpress.org/support/plugin/wp-geoloc/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« WP Geoloc » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ Nicolas Blois ](https://profiles.wordpress.org/bloutch/)

[Traduisez « WP Geoloc » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wp-geoloc)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wp-geoloc/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/wp-geoloc/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/wp-geoloc/)
par [RSS](https://plugins.trac.wordpress.org/log/wp-geoloc/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.2

 * standardization of code

#### 1.0.1

 * New : widget to search geolocated content.
 * New : shortcode to include the geolocated search form in any post.
 * New : translations in French
 * Fix : Prevent XSS and other attacks

#### 1.0.0

 * Version initiale

## Méta

 *  Version **1.0.2**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 3.8 ou plus **
 *  Testé jusqu’à **4.4.34**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/wp-geoloc/)
 * Étiquettes
 * [geo](https://fr.wordpress.org/plugins/tags/geo/)[geolocation](https://fr.wordpress.org/plugins/tags/geolocation/)
   [geotag](https://fr.wordpress.org/plugins/tags/geotag/)[location](https://fr.wordpress.org/plugins/tags/location/)
   [radius](https://fr.wordpress.org/plugins/tags/radius/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/wp-geoloc/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  1 avis à 5 étoile     ](https://wordpress.org/support/plugin/wp-geoloc/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/wp-geoloc/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/wp-geoloc/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/wp-geoloc/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/wp-geoloc/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-geoloc/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/wp-geoloc/reviews/)

## Contributeurs

 *   [ Nicolas Blois ](https://profiles.wordpress.org/bloutch/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/wp-geoloc/)