Prioritizing Results & Customizing Results Page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Prioritizing Results & Customizing Results Page

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42580
    botoxeducation
    botoxeducation
    Participant

    Hi, I just purchased the plugin and have a few questions that I was unable to figure out from the settings or documentation.

    1) Is there a way to give priority to specific pages that I select in
    the results (by a category or tag for example)?

    2) The search results page (that I get to if I click the search icon
    after getting the live results) goes to the default wordpress one. Is
    there a way to customize that results page? I thought that the setting
    for “Override the default WordPress search results with results from
    this search instance” would override the default wordpress results
    page, but it did not.

    3) Is there a way to add the search box to a menu?

    Thanks in advance for the help, Ari

    #42585
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Sure, let me help you out.

    1. You have two different options, either set priorities individually, or you can even set result group priorities – whichever fits your case better.

    2. The results page layout is fully controlled by the theme. It is best to customize it there, as it is a WordPress core feature. There are however ways to get “fake” results pages. One way is by using the results shortcode, another is using an elementor pro widget.
    I usually recommend avoiding these custom hacky results pages and customizing the core results page.

    3. Yes, you can use it as a menu item. It may need some adjustment, because menus items are usually not designed for interactive elements, but only for regular links.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #42596
    botoxeducation
    botoxeducation
    Participant

    Great, thank you. Using the results shortcode, is there a way to change the size of the results box / number of visible results before scrolling?

    #42606
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure!

    The number of results can be changed here. The results box size depends on the results layout type – for the default vertical results you can change the viewport size here.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #42624
    botoxeducation
    botoxeducation
    Participant

    Thanks for that, but is there a way to change the viewport size for just the results page (on the page using the results shortcode), but not the real time results on the pages that have the search box?

    #42629
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I think it’s actually possible via some custom CSS, try something like this:

    .entry .asp_r .results {
        height: auto !important;
    }

    That will set a full height to the results container.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.