i4w_showbefore_tag

Usage:

This shortcode conditionally returns content depending on whether a certain number of days/weeks have NOT YET passed since a tag was assigned to a contact.

[ELSE_showbefore_tag] conditional branching is supported.

Shortcode nesting is supported:
[i4w_showbefore_tag1] thru [i4w_showbefore_tag19]

[ELSE_showbefore_tag1] thru [ELSE_showbefore_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_showbefore_tag tagid='1234' days='14']
  Display this if less than 14 days have passed…
[ELSE_showbefore_tag]
  Otherwise, display this…
[/i4w_showbefore_tag]

[i4w_showbefore_tag tagid='1234' weeks='2']
  Display this if less than 2 weeks have passed…
[ELSE_showbefore_tag]
  Otherwise, display this…
[/i4w_showbefore_tag]

[i4w_showbefore_tag tagid='1234' days='3' weeks='2']
  Display this if less than 17 days (2 weeks + 3 days) have passed…
[ELSE_showbefore_tag]
  Otherwise, display this…
[/i4w_showbefore_tag]

API:

There is no API function equivalent for this shortcode.