Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    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

    (@bernardu)

    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

    (@kylephillips)

    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

    (@bernardu)

    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Distance’ is closed to new replies.