Title: Scripting query
Last modified: August 21, 2016

---

# Scripting query

 *  Resolved [Jackpudding](https://wordpress.org/support/users/jackpudding/)
 * (@jackpudding)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/scripting-query/)
 * I’m trying to adapt WPSL into a theme search but can’t find where the files are
   for the search entry form. Can you help? Great plugin and looking forward to 
   the premium version.
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/scripting-query/#post-4919136)
 * Have a look in the /frontend/templates folder 🙂 You will also need to modify
   the wpsl-gmap.js file.
 * On line 174, it listens for a click on the submit button. It then goes to the
   codeAddress function ( line 438 ) and ends up with the makeAjaxRequest ( line
   519 ) function where it makes the actual request with the values from the dropdowns.
   If you don’t have dropdowns anymore, then you can hardcode a defautl value.

Viewing 1 replies (of 1 total)

The topic ‘Scripting query’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/scripting-query/#post-4919136)
 * Status: resolved