Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filter for custom fields › Reply To: Filter for custom fields
Hi Stefan,
Okay, I see now. Actually there is a way, it is a bit tricky, but possible.
Before starting, set the filters as you want them on the destination page, then:
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 the developer console.
2. Navigate to the Console panel, then copy/paste the following code there like so:
ASP.api(3, 1, 'getStateURL')
Note: The first number after the parentheses is the search ID (3), if you use different one, make sure to replace that.
3. After hitting enter, it will print out a string. Copy that, it contains the URL to the current page with the preset filter states: https://i.imgur.com/RwuZqWM.png
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.