Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Using search results shortcode in AVADA
This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 5 months ago.
- AuthorPosts
- October 20, 2020 at 6:10 pm #29922
I’m having trouble getting the results to show up once I hit return on the initial home page search.
Attachments:
You must be logged in to view attached files.October 21, 2020 at 9:52 am #29941Hi,
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
Best,
It will trigger the search automatically after redirection.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 21, 2020 at 12:41 pm #29948I’m getting a TOO MANY REDIRECT error. Do you mind taking a look?
Attachments:
You must be logged in to view attached files.October 21, 2020 at 12:54 pm #29950Sure! I didn’t notice you had a search button as well. I applied the custom URL there too: https://i.imgur.com/Ti6aPDb.png
Best,
It should be probably okay now.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 21, 2020 at 12:59 pm #29951Hi 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 #29955Hi,
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.
Best,
If you have any custom redirect/rewrite rules, try turning them off as well temporarily.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 21, 2020 at 2:01 pm #29956Cleared 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 #29957I 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 #29986Hi, 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 #29987Hi,
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
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.