Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Using search results shortcode in AVADA
- This topic has 9 replies, 2 voices, and was last updated 5 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
October 20, 2020 at 6:10 pm #29922
clopez37
ParticipantI’m having trouble getting the results to show up once I hit return on the initial home page search.
October 21, 2020 at 9:52 am #29941Ernest Marcinko
KeymasterHi,
While the search results shortcode is not exactly for that purpose, in your case, you can still try using a custom URL, just append the
asp_id=1&asp_s={phrase}to the query parameters:/case-results?s={phrase}&asp_id=1&asp_s={phrase}Use it with this setup: https://i.imgur.com/9NptW3v.png
It will trigger the search automatically after redirection.October 21, 2020 at 12:41 pm #29948clopez37
ParticipantI’m getting a TOO MANY REDIRECT error. Do you mind taking a look?
October 21, 2020 at 12:54 pm #29950Ernest Marcinko
KeymasterSure! I didn’t notice you had a search button as well. I applied the custom URL there too: https://i.imgur.com/Ti6aPDb.png
It should be probably okay now.October 21, 2020 at 12:59 pm #29951clopez37
ParticipantHi Ernest, I appreciate the super fast support! https://casebites.com/ here is the search where you can test, both hitting return and search still give me too many redirects for some reason after applying that custom URL. Please advise. I tried deleting all site data/cache and tested on another browser and still gives me error
October 21, 2020 at 1:07 pm #29955Ernest Marcinko
KeymasterHi,
It works perfectly fine on my end in chrome, firefox and edge as well. Make sure to clear all your caches again, it should work all right.
If you have any custom redirect/rewrite rules, try turning them off as well temporarily.October 21, 2020 at 2:01 pm #29956clopez37
ParticipantCleared cache, opened it in all my browser, on my phone, on a co-workers devices on a seperate network and they all had the same error of not loading.
Maybe we can start with debugging- hitting Enter or Return on the keyboard instead?
October 21, 2020 at 2:09 pm #29957clopez37
ParticipantI believe i fixed it by removing case-results from /case-results?s={phrase}&asp_id=1&asp_s={phrase} and leaving it /?s={phrase}&asp_id=1&asp_s={phrase}
October 23, 2020 at 1:01 pm #29986clopez37
ParticipantHi, I’m not sure if this requires another ticket but is there a way to select a range of dates in the search filter? ex I want to search posts that have been publishing between Oct-Nov 2020.
October 23, 2020 at 1:03 pm #29987Ernest Marcinko
KeymasterHi,
You don’t have to open a new ticket. You can do that via the date filters feature: https://documentation.ajaxsearchpro.com/frontend-search-settings/date-selectors
-
AuthorPosts
- You must be logged in to reply to this topic.