Using search results shortcode in AVADA

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 Ernest Marcinko 2 years, 5 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #29922
    clopez37
    clopez37
    Participant

    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.
    #29941
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29948
    clopez37
    clopez37
    Participant

    I’m getting a TOO MANY REDIRECT error. Do you mind taking a look?

    Attachments:
    You must be logged in to view attached files.
    #29950
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure! 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29951
    clopez37
    clopez37
    Participant

    Hi 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

    #29955
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29956
    clopez37
    clopez37
    Participant

    Cleared 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?

    #29957
    clopez37
    clopez37
    Participant

    I 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}

    #29986
    clopez37
    clopez37
    Participant

    Hi, 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.

    #29987
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.