This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

URL param to dynamically generate results

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25701
    rips9993rips9993
    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 MarcinkoErnest 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

    #25707
    rips9993rips9993
    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.