Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Results page
- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by
Ernest Marcinko.
-
AuthorPosts
-
January 19, 2023 at 9:01 am #40970
jenerdman
ParticipantIf you go to the search bar on the home page and type in farmers with the live search, you’ll get 6 of 16 results. That’s perfect. I love how it’s split up between the different post types. But if you go to the results page, it doesn’t keep that separation, it just jumbles them all together. Can’t you keep that same search results format but have it on the actual page?
I’ve tried both ways –
(1) using the default search results (just hit enter in the search box)
or
(2) setting up a page for the search – click the magnifying glass which sends you to this page: https://enjoyjeffersoncounty.com/custom-search/Neither shows the search results in that same grouped format.
AND, I can’t get it to stop disappearing when I scroll down to see the entire results box?Can you help??
January 19, 2023 at 11:09 am #40982Ernest Marcinko
KeymasterHi,
Unfortuantely this is not possible. The main reason is, that the WordPress results page layout is completely controlled by the currently active theme you are using. To group results in any way, the complete layout has to be custom coded, but even then it is not the greatest idea as it requires custom queries from existing results. I have only seen a very few cases where something like that worked.
Instead of trying to custom code the results page, you could try this alternative solution. That will force the search shortcode as a results page container on a custom page. It is far from perfect, but it does not require coding.
January 20, 2023 at 7:48 am #40998jenerdman
ParticipantYou cannot access this content.
January 20, 2023 at 1:32 pm #41007Ernest Marcinko
KeymasterGreat!
For the grouped results I am afraid it is not going to work. When grouping is disabled, it can automatically load up more results – but not this way unfortunately.
Another option is to redirect to the search results page, but currently it will simply redirect to the same page and will do nothing.Your best option here (if you want to keep the grouping) is to disable the “more results” feature, and increase the number of results displayed. The load more feature will only work if the grouping is disabled, but I don’t think you want that.
January 20, 2023 at 8:46 pm #41018jenerdman
Participantunderstood – thank you. I appreciate your extra help!!
January 21, 2023 at 12:15 pm #41020Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.