Title: ACF Google Maps Radius Search
Author: raiserweb
Published: <strong>16 Giugno 2016</strong>
Last modified: 7 Giugno 2016

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

![](https://s.w.org/plugins/geopattern-icon/acf-google-maps-radius-search.svg)

# ACF Google Maps Radius Search

 Di [raiserweb](https://profiles.wordpress.org/raiserweb/)

[Scarica](https://downloads.wordpress.org/plugin/acf-google-maps-radius-search.zip)

 * [Dettagli](https://it.wordpress.org/plugins/acf-google-maps-radius-search/#description)
 * [Recensioni](https://it.wordpress.org/plugins/acf-google-maps-radius-search/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/acf-google-maps-radius-search/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/acf-google-maps-radius-search/#developers)

 [Supporto](https://wordpress.org/support/plugin/acf-google-maps-radius-search/)

## Descrizione

This plug-in allows search results to be ordered by distance from a specified location.

The plugin only works when the posts have been given an address via the Advanced
Custom Field Type ‘Google Map’, and the search results page url contains longitude(‘
lng’) and latitude (‘lat’) $_GET variables.
 More technical information is contained
in the FAQ section.

This plugin is made to help developers create a radius search result, in conjungtion
with Advanced Custom Field Type ‘Google Map’.

Note – this plugin works in conjunction with the Advanced Custom Field Type ‘Google
Map’.

## Installazione

 1. Upload this plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Manage competition forms, see and export entries, and select winners via the Competitions
    menu

## FAQ

  What is this plugin for?

This plugin is for when you are using the Advanced Custom Fields Type ‘Google Map’
on posts, and you wish to display a distance ordered search results page on your
site.

  Why do I need this plugin?

Unfortunately, the Advanced Custom Fields Type ‘Google Map’ does not make it easy
to query posts based on a radius distance search. This plugin makes this possible.

  How do I use this plugin?

To use this plugin, first install the plugin as normal. The plugin will then work
whenever you add ‘lng’ and ‘lat’ variables into a search results page url. For example:
example.com/search/?lng=51.023232&lat=12.232323

  How do I add lng and lat values to the search page URL?

The best way to do this, is to use the Google Places Autocomplete API to allow users
to select a location in your search form. Upon selecting a location, you will be
able to access the lng and lat values provided by Google. These can then be populated
into the search result URL.

  Anything else I should know?

Yes, your Advanced Custom Field Type ‘Google Map’ will need to be named ‘address’.

## Recensioni

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

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

 [mrank](https://profiles.wordpress.org/mrank/) 30 Luglio 2020

Works perfectly and can be used to create a radius based sorting function with custom
post types. Thank you very much for this!!

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

### 󠀁[It works.](https://wordpress.org/support/topic/ti-works/)󠁿

 [valerio_cas](https://profiles.wordpress.org/valerio_cas/) 30 Luglio 2018 1 risposta

Plugin does what it says on the box. This is obviously aimed at developers. You’ll
need to add your own code to add the other search fields and to get the location
you are searching from.

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

### 󠀁[Example Code Please](https://wordpress.org/support/topic/example-code-please-2/)󠁿

 [russell44](https://profiles.wordpress.org/russell44/) 21 Dicembre 2016 1 risposta

Could you post example code of using this plugin. I’ve created the query string 
with the lat and lng variables, and I’m using the address acf field, but I don’t
see how I’m suppose to get the list of locations sorted by their distance. Thanks.

 [ Leggi tutte le recensioni di 3 ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/)

## Contributi e sviluppo

“ACF Google Maps Radius Search” è un software open source. Le persone che hanno 
contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ raiserweb ](https://profiles.wordpress.org/raiserweb/)

[Traduci “ACF Google Maps Radius Search” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/acf-google-maps-radius-search)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/acf-google-maps-radius-search/)
segui il [repository SVN](https://plugins.svn.wordpress.org/acf-google-maps-radius-search/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/acf-google-maps-radius-search/)
tramite [RSS](https://plugins.trac.wordpress.org/log/acf-google-maps-radius-search/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * first release

## Meta

 *  Versione **1.0**
 *  Ultimo aggiornamento **10 anni fa**
 *  Installazioni attive **40+**
 *  Versione WordPress ** 3.0.1 o superiore **
 *  Testato fino alla versione **4.5.33**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/acf-google-maps-radius-search/)
 * Tag
 * [acf](https://it.wordpress.org/plugins/tags/acf/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/acf-google-maps-radius-search/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  3 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/acf-google-maps-radius-search/reviews/)

## Collaboratori

 *   [ raiserweb ](https://profiles.wordpress.org/raiserweb/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/acf-google-maps-radius-search/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](http://raiserweb.com)