Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Where is Search Results Page
- This topic has 5 replies, 2 voices, and was last updated 4 years, 6 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 24, 2021 at 2:27 am #35703
sbrough16
ParticipantHi
This plugin is great, the only problem I am having with it is when I hit the enter key I get redirected to a page with this URL, the same thing happens when I click the magnifying glass button.
I have been through all the settings and made changes to some of them but there doesn’t seem to be a way to setup a results page, if that is what is supposed to happen, if the plugin is trying to go to a page where the results will be displayed.
Because I am using Ajax live search I would rather disable the Enter key and the Search button.
the search bar I am working on is here https://grasped.digital/resources/
I have looked everywhere that I can find, I hope you can help.
All I can think of is to try to disable use of the Enter key and the Search button somehow.
Regards
Steven Brough
[email protected]November 24, 2021 at 2:23 pm #35711Ernest Marcinko
KeymasterHi Steven,
The results page is a built-in WordPress feature, and is always handled by the currently active theme. Ajax Search Pro can not change the results page, as it is a WordPress core feature handled by the active theme.
The results page is invoked, whenever the “s” query argument is present in the URL, for example “www.yoursite.com?s=phrase”. When that is detected, WordPress tells the theme to display the search results.All our plugin does by default is redirecting to that results page. When the search results override feature is also enabled, it will also tell the WordPress core which results to display on the results page.
The layout of the page, the functionality etc.. all depends on the currently active theme. Some themes also have support for page builder plugins, like Visual Composer, Elementor Pro or similar, which can help you customize the results page layout.November 25, 2021 at 12:12 am #35720sbrough16
ParticipantThanks for your reply, I do appreciate your help. “www.yoursite.com?s=phrase” Does this mean that the results will appear on the home page http://www.yoursite.com?
It looks like this doesnt work with my theme because I dont get a page with results. I need to disable someone hitting the Enter key or clicking the Magnifying glass. Is there any way to turn off the redirect to the results page? I cant have a search box that redirects people to strange page?
This is where my search box is: https://grasped.digital/resources/
Any help would be appreciated, in the meantime I will keep trying to find a work around for this, otherwise I wont be able to use it in its current state.
Regards
StevenNovember 25, 2021 at 10:20 am #35729Ernest Marcinko
KeymasterHi Steven,
No, that does not mean the results will display on the home page – only whenever the “s” query argument is present.
If your theme does not have a results page, or has it disabled, you can of course turn off the magnifier and return button actions to do nothing. This documentation will help you with that.
November 26, 2021 at 1:41 am #35746sbrough16
ParticipantThanks, thats all I needed to know.
Regards
StevenNovember 26, 2021 at 9:28 am #35749Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.