i4w_showafter_tag

Usage:

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:

tagid The values passed to this parameter is that of the tag ID assigned to the current, logged in contact.
Default: None.
Required: Yes.
days The number of days upon which to base the decision.
Default: None.
Required: Yes, either ‘days’ or ‘weeks’ (or both may be used, but one or the other MUST be used)
weeks The number of weeks upon which to base the decision.
Default: None.
Required: Yes, either ‘days’ or ‘weeks’ (or both may be used, but one or the other MUST be used)

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]

API:

There is no API function equivalent for this shortcode.