URL param to dynamically generate results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support URL param to dynamically generate results

This topic contains 2 replies, has 2 voices, and was last updated by rips9993 rips9993 4 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25701
    rips9993
    rips9993
    Participant

    Hi Ernest,

    Is there a way to link to a page with a search bar or results and automatically generate results for keyword(s) using a URL parameter?

    For example, it would allow us to create links for our users that load pages with results for ‘techno’.

    E.g. https://halfwild.com.au/?ajaxsearch=techno

    I had a look through the docs but could not see anything that does this.

    I’m aware I can set a default search term for an instance but I am after something more flexible.

    Thanks,

    Phil.

    #25705
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Phil,

    Do you mean automatically trigger the search via URL? That is actually possible, this knowledge base should help.

    In your case, the URLs would look like this: https://halfwild.com.au/?asp_id=5&asp_s=test

    Best,
    Ernest Marcinko

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


    #25707
    rips9993
    rips9993
    Participant

    Hi Ernest,

    Yes, that is exactly what I was after 🙂

    Thanks,

    Phil.

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

You must be logged in to reply to this topic.