This shortcode is designed to check for the existence of a $_GET variable and, given a value to check, for a value match. Any content embedded between the tags will be displayed if the criteria is met.

[ELSE_ifget] conditional branching is supported.

Shortcode nesting is supported:
[i4w_ifget1] thru [i4w_ifget19]

[ELSE_ifget1] thru [ELSE_ifget19]


get The name of the $_GET variable for whose existence you are checking.
Default: none.
Required: yes.
val A value which the $_GET variable must hold in order for the shortcode to evaluate to true.
Default: none.
Required: no.


Will display “Test GET is set” if $_GET[‘test_get’] exists.

Will display “Test GET is set” if $_GET[‘test_get’] exists AND its value is 123.


There is no API function equivalent for this shortcode.