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

Custom Results Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31250
    brennah12brennah12
    Participant

    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-state

    Thanks so much for your guidance!

    -Brenna

    #31251
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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:

    ASP.api(5, 'getStateURL')

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Custom Results Page’ is closed to new replies.