Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search parameter passed by url Get › Reply To: Search parameter passed by url Get
November 3, 2016 at 10:36 am
#10695
Hi,
While it is not possible to trigger via URL, there might be a solution. Try putting this custom code to the functions.php file in your active theme directory:
This will detect the “location” parameter and change the location value of the search select on load.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)