Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Custom Results Page
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
- AuthorPosts
- January 21, 2021 at 2:09 pm #31250
We are looking at creating specific result links based on search queries.
So if we had prepopulated searches created to apply these links in our menu. We have quite a few different categories and taxonomy filters on the front end and would like to be able to populate a link for any of those different combinations.
I found you have a solution using elementor – https://ajaxsearchpro.com/elementor-custom-results-page/ but we do not use elementor on our site.
Wondering how I can achieve thiS?
I also found this but just needed clarity on where we place the JS.
https://knowledgebase.ajaxsearchpro.com/other/javascript-api#current-search-state-url-presetting-the-search-filters-and-input-to-a-specific-stateThanks so much for your guidance!
-Brenna
January 21, 2021 at 2:41 pm #31251Hi,
Results page customization is not possible via a plugin – the results page layout is controlled by the theme you are using. Some themes may offer support with page builder plugins, but usually the best option is to custom code the changes you need via a child theme.
The linked API script is best used in your browser developer console.
Basically, you change the search options as you need them, then run that command with the correct search ID, and it will print the URL to the console. The search ID can be found here. For example, if your search ID is 5, you enter this to the console:
Best,ASP.api(5, 'getStateURL')
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
The topic ‘Custom Results Page’ is closed to new replies.