Use of url parameters for visibility conditions

Hi! If I understand this function it could be very useful for me, but I haven’t found a tutorial or docs about it anywhere, can anyone set me in the right direction? :slightly_smiling_face:

Hi @razin,

It is very simple to use. Any url parameters (e.g. ?hello=razin or ?parameter1=cwicly&parameter2=rocks) that are present in the url of the page can be used to show or hide elements.

These parameters can be added in any way (e.g. via standard links, via wordpress itself, via Cwicly filters, etc, etc).

Thank you for the fast help! :smile:


This way any site with the url ending in “?hello=razin” will show the template? And can the “Key” part be empty or are the parameters to use too?

Actually the key is the parameter name and the value is the parameter value, so in the case of ?hello=razin, you will want to do this:

Screenshot 2023-09-03 at 13.39.07

This allows you do target multiple url parameters (add another condition for each parameter you need to target).


Ohh okay I get it now. Thank you :slight_smile: