Title: url parameters or shortcode settings
Last modified: November 21, 2018

---

# url parameters or shortcode settings

 *  [kiekers](https://wordpress.org/support/users/kiekers/)
 * (@kiekers)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/url-parameters-or-shortcode-settings/)
 * Hi,
 * I am trying to override the default settings (of both the search radius and the
   number of locations). Is there a url parameter that I can use for this, or alternatively
   I want to set this with a attribute in the shortcode. Is this possible?
 * A bit of background on why I want to do this:
    I’ve got a list of 578 stores 
   that I imported, which all imported correctly (via the add-on) but if I set max
   radius to 2000km and max amount to 600 then I only get 564 stores.
 * So in order to check which stores didn’t geocode (everything imported, but some
   didn’t geocode), I am building a web scraper in python that gets a list of stores
   from the source code of the page and compares it to the original file; because
   only stores that were geocoded shows on the page. Then I want to write records
   that doesn’t appear in the list to another file, so that I can go and see why
   it didn’t geocode. So for the users I want to show a radius of 50km and a max
   of 50 stores, but for the scraper I want to show all values.
 * Building the scraper is easy, but I can’t get the filter to work for different
   instances.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/url-parameters-or-shortcode-settings/#post-10912029)
 * Hi,
 * If you want to check which stores didn’t geocode, then you can easily do this
   by creating an export. And then sort the data in your spreadsheet editor by the
   lat / lng fields.
 * You can overwrite the [settings](https://plugins.trac.wordpress.org/browser/wp-store-locator/tags/2.2.17/frontend/class-frontend.php#L1737)
   with the [wpsl_js_settings](https://plugins.trac.wordpress.org/browser/wp-store-locator/tags/2.2.17/frontend/class-frontend.php#L1824)
   filter.

Viewing 1 replies (of 1 total)

The topic ‘url parameters or shortcode settings’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [parameters](https://wordpress.org/support/topic-tag/parameters/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/url-parameters-or-shortcode-settings/#post-10912029)
 * Status: not resolved