Forums Forums Search & Filter Pro Set parameter via shortcode? eg [searchandfilter id="7" show="results" q="term"]

Viewing 3 posts - 1 through 3 (of 3 total)
  • Trevor
    #196155

    I am afraid that what you want to do is not currently possible via a shortcode. Our plugin uses javascript to read the search parameters from the URL and then processes that. I am not sure how V3 of our plugin will do this, but it will be different.

    Anonymous
    #196305

    Hi Trevor,

    OK, so maybe I need to intercept the search query parameter on the server side prior to the search?
    That way, the javascript could read one thing in the url, send the request to the server, which (re-)interprets/rewrites the search parameter prior to the query being submitted.

    Would this work? How would I do this?

    Thank you,
    Don

    Trevor
    #196351

    Modifications to the query can be made using the Edit Query Arguments filter.

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