i4w_casetag

Usage:

With this shortcode, a tag-based decision construct similar to CASE..SELECT..ELSE can be applied.

This shortcode can be used instead of using a series of [i4w_onlyfor] shortcodes, making your code both shorter and easier to manage.

[ELSE_casetag] conditional branching is supported.

Shortcode nesting is NOT supported.

Parameters:

any_tagid Specifies a condition where *ANY* matching tag ID’s would be considered a match.
all_tagid Specifies a condition where *ALL* provided tag ID’s must match to be considered ‘true’.
not_any_tagid Specifies a condition where not matching *ANY* of the given tag ID’s would evaluate to ‘true’.
not_all_tagid Specifies a condition where not matching *ALL* of the given tag ID’s would evaluate to ‘true’.
else Specifies the default fallback case if no other condition is met.

Example:

API:

There is no API function equivalent for this shortcode.