i4w_showafter

Usage:

This shortcode enables segmenting content within a page, post, excerpt or text widget based on either a subscriber’s registration date or a date passed to the shortcode.

The content embedded between the shortcode’s begin and ending tags will be displayed if either the subscriber has been registered at least the number of days or weeks specified in the shortcode parameters or, if a date parameter is give, the given number of days or weeks have passed since that date.

[ELSE_showafter] conditional branching is supported.

Shortcode nesting is supported:
[i4w_showafter1] thru [i4w_showafter19]

[ELSE_showafter1] thru [ELSE_showafter19]

Parameters:

days Specifies the minimum number of “membership” days.
Default: none.
Required: yes, if “weeks” is not selected.
weeks Specifies the minimum number of “membership” weeks.
Default: none.
Required: yes, if “days” is not selected.
date Specifies the base date for the time difference calculation.
Default: user’s registration date.
Required: no.

Example:

Notes:

The parameters “days” and “weeks” are mutually exclusive. Only one can be used. If both are used, “days” will have priority.

This shortcode works independently of the “Gradual Content Release” settings in the “Plugin Options” panel. You may segment parts of a page or post even if you have not activated “Gradual Content Release”.

API:

There is no API function equivalent for this shortcode.