Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Prioritizing Results & Customizing Results Page
- This topic has 5 replies, 2 voices, and was last updated 3 years ago by
Ernest Marcinko.
-
AuthorPosts
-
May 17, 2023 at 6:51 pm #42580
botoxeducation
ParticipantHi, 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
May 18, 2023 at 9:54 am #42585Ernest Marcinko
KeymasterHi!
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.
May 18, 2023 at 6:40 pm #42596botoxeducation
ParticipantGreat, thank you. Using the results shortcode, is there a way to change the size of the results box / number of visible results before scrolling?
May 19, 2023 at 12:59 pm #42606Ernest Marcinko
KeymasterSure!
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.
May 19, 2023 at 2:33 pm #42624botoxeducation
ParticipantThanks 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?
May 19, 2023 at 3:04 pm #42629Ernest Marcinko
KeymasterI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.