This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: How can I use GET parameters to preselect filters on search page?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How can I use GET parameters to preselect filters on search page? Reply To: How can I use GET parameters to preselect filters on search page?

#20610
Ernest MarcinkoErnest Marcinko
Keymaster

I just remembered, there is even a faster way using the browser developer tools:

1. Open up the browser developer tools, by hitting F12 on your keyboard, while the search page is open, the reload the page. You should see this.

2. Navigate to the Console panel, then copy/paste the following code there like so:

ASP.api(1, 1, 'getStateURL')

3. After hitting enter, it will print out a string. Copy that, it contains the URL to the current page with the filter states.

4. Change the filters as you like, and just do step 2. each time, no need to reload the page, it will always print the URL with the changes.

I hope this helps!