i4w_showafter_tag
This shortcode conditionally returns content depending on whether a certain number of days/weeks have passed since a tag was assigned to a contact.
[ELSE_showafter_tag] conditional branching is supported.
Shortcode nesting is supported: [i4w_showafter_tag1] thru [i4w_showafter_tag19]
[ELSE_showafter_tag1] thru [ELSE_showafter_tag19]
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| tagid | The tag ID assigned to the current, logged in contact. | none | Yes |
| days | The number of days upon which to base the decision. | none | Yes, either days or weeks must be used |
| weeks | The number of weeks upon which to base the decision. | none | Yes, either days or weeks must be used |
Example
Section titled “Example”[i4w_showafter_tag tagid='1234' days='14'] Display this if 14 days have passed…[ELSE_showafter_tag] Display this if less than 14 days have passed…[/i4w_showafter_tag][i4w_showafter_tag tagid='1234' weeks='2'] Display this if 2 weeks have passed…[ELSE_showafter_tag] Display this if less than 2 weeks have passed…[/i4w_showafter_tag][i4w_showafter_tag tagid='1234' days='3' weeks='2'] Display this if 17 days (2 weeks + 3 days) have passed…[ELSE_showafter_tag] Display this if less than 17 days (2 weeks + 3 days) have passed…[/i4w_showafter_tag]