Title: Distance
Last modified: August 22, 2016

---

# Distance

 *  Resolved [bernardu](https://wordpress.org/support/users/bernardu/)
 * (@bernardu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/)
 * How to change distance search on form? I would like to have only two options 
   5,10
 * [https://wordpress.org/plugins/simple-locator/](https://wordpress.org/plugins/simple-locator/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/#post-5830949)
 * If you’re using the shortcode, include a distance parameter:
 * `[wp_simple_locator distances="5,10"]`
 * If you’re using the widget, there’s a field for distance options when adding 
   the widget.
 *  Thread Starter [bernardu](https://wordpress.org/support/users/bernardu/)
 * (@bernardu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/#post-5830951)
 * this what I have and is not working still show default distances.
 * [wp_simple_locator
    distances=”5,10″ mapheight=”450″ mapcontainer=”#fullpage-
   map” buttontext=”icon-search” addresslabel=”U.S. Zip Code or City” mapcontrols
   =”show” resultscontainer=”#mapresults” mapcontrolsposition=”RIGHT_BOTTOM”]
 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/#post-5830955)
 * If you take out the returns, it should work correctly (I know there are returns
   on the documentation site, but it’s more for illustration – I’ll make a note 
   of that).
 * `[wp_simple_locator distances="5,10" mapheight="450" mapcontainer="#fullpage-
   map" buttontext="icon-search" addresslabel="U.S. Zip Code or City" mapcontrols
   ="show" resultscontainer="#mapresults" mapcontrolsposition="RIGHT_BOTTOM"]`
 *  Thread Starter [bernardu](https://wordpress.org/support/users/bernardu/)
 * (@bernardu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/#post-5830962)
 * Thank You

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Distance’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-locator_279078.svg)
 * [Simple Locator](https://wordpress.org/plugins/simple-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-locator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [bernardu](https://wordpress.org/support/users/bernardu/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/distance-2/#post-5830962)
 * Status: resolved