URL Parameter conditions from SearchWP query string []

Hello,

I am trying to hide/show some things on my search results page based on which form was used from wpsearch.

The plugin sets the query string as

swp_form%5Bform_id%5D=1

I have tried that and swp_form[form_id]=1 in my condition, for example:

{{dc:url:param key="swp_form[form_id]"}}

but it does not seem to be recognizing it.

Hello,

Currently you can’t get a URL parameter if it’s an object value like you have. We’ll have to update something on our end. The Dynamic Content you would use would be the following though. It won’t work currently, but keep an eye out for the next release. See the guide on formatting here. Have a great day.

{{dc:url:param key="swp_form" type="object" _key="form_id" }}

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.