Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Impossibile to remove redirection to url
- This topic has 22 replies, 2 voices, and was last updated 2 years, 11 months ago by
Ernest Marcinko.
-
AuthorPosts
-
April 19, 2023 at 11:25 am #42225
jp76
ParticipantI’m trying to set up a search mode without redirecting to url, I’ve followed all the instructions found in the online help but the result is always the same. I want to hide the magnifying glass and only view the results without redirecting to the detailed information sheets of the individual results
can u help me please?April 19, 2023 at 1:00 pm #42227Ernest Marcinko
KeymasterHi,
Sure!
If you don’t want the return/magnifier actions to redirect to the results page, then you can set that behavior here: https://i.imgur.com/sxExCBe.png
If you also want the live results to not redirect to the single results when clicking on them, then using the following custom CSS will help:
.asp_r .item, .asp_r .item a { pointer-events: none; }April 19, 2023 at 1:15 pm #42228jp76
Participanti will try your solution! tnx and congrats on the awesome plugin
April 19, 2023 at 1:38 pm #42229Ernest Marcinko
KeymasterThank you very much 🙂
If you like the plugin and have not rated already, feel free to leave a rating on your codecanyon downloads page and on the wordpress plugin repository, it’s greatly appreciated.
May 15, 2023 at 1:26 pm #42550jp76
Participanthi, great plugin!
can i exclude the redirect to page only for a search instance?
i try to explain:
i have 2 instances in my website:
https://rah.spaziodeca.it/i-nostri-dottori/ (without redirect [for now[)
https://rah.spaziodeca.it/prestazioni-filtrabili/ (here i need redirect to page) and here i need a dropdown with all selected pages for this searchcan u help me please?
May 16, 2023 at 2:16 pm #42557Ernest Marcinko
KeymasterSure!
Just a small modification to the custom CSS:
.asp_r_1 .item, .asp_r_1 .item a { pointer-events: none; }This will apply the code to the first isntance only.
May 18, 2023 at 11:38 am #42588jp76
ParticipantThank u
Can u help me with another question?
I need to show a selection of pages in a dropdown menu, once the item has been chosen from the dropdown it must be shown in the results the corresponding pages and subpages, when clicking on the thumbnail it is necessary to redirect to the page.it’s possibile?
May 18, 2023 at 3:45 pm #42592Ernest Marcinko
KeymasterUh, I don’t think that is possible in such way.
If you have a categorization for the posts, then using taxonomy term filters should be a way to do it.
May 18, 2023 at 3:54 pm #42593jp76
ParticipantI mean a sort of portfolio filter.
I have to filter a subset of the total pages representing the medical areas of the hospital.
how could I do?use posts instead of pages? perhaps associating a tag for each post that represents a specific area? can you give me a suggestion?
May 19, 2023 at 12:57 pm #42605Ernest Marcinko
KeymasterI would probably use post or a completely new post type for that, if you don’t have the data already stored.
If posts are not used for anything else, then they are fine. Then using categories/tags as needed. That should be the best way of structuring this kind of data.May 20, 2023 at 1:52 pm #42637jp76
ParticipantPosts are used for blog, but i can restrict the search with ajax search pro at certain categories.
May 22, 2023 at 1:16 pm #42648Ernest Marcinko
KeymasterYes, that is possible, you can restrict the results to certain categories only. However if the content is kind of separate from the others in nature, then it’s better to use a different post type altogether.
May 30, 2023 at 10:12 am #42846jp76
ParticipantHi
how i can display all my results by default?
TnxMay 30, 2023 at 2:34 pm #42850Ernest Marcinko
KeymasterHi,
Sure, you can do that with the auto populate feature. I usually don’t recommend displaying everything at once as many elements on the page can slow down the users browser.
June 5, 2023 at 4:30 pm #42946jp76
Participantlast question about this amazing plugin!
1. can i have a button for show all my member staff?
2. why when i click on “seleziona” i only see a “not identified” selection of member staff?https://rah.spaziodeca.it/gli-specialisti-del-rah/
tnx in advance!
-
AuthorPosts
- You must be logged in to reply to this topic.