Usage:
This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying the embedded content only when a certain condition is met. The shortcode will determine how many Infusionsoft contacts have been assigned a particular tag and will then compare the result with the value provided in the shortcode parameter.
This shortcode does NOT supports conditional branching with [ELSE_member_count].
Shortcode nesting is NOT supported.
Parameters:
tagid | The Id of the tag used as the basis for this operation. Required: Yes. |
op | The type of comparison operation to be carried out. Required: Yes. Allowed types are: |
LT | => “less than” |
LE | => “less than or equal to” |
EQ | => “equal to” |
GE | => “greater than or equal to” |
GT | => “greater than” |
value | Any integer. Any values passed will be cast as (int). |
Example:
[i4w_member_count tagid='123' op='GT' value='200'] Display this if more than 200 contacts have been assigned tag Id '123' [/i4w_members]
API:
There is no API function equivalent for this shortcode.