Content Access Shortcodes
Shortcodes for conditional content display based on tags, membership, and time periods.
i4w_casetag – With this shortcode, a tag-based decision construct similar to CASE..SELECT..ELSE can be applied.
With this shortcode, a tag-based decision construct similar to CASE..SELECT..ELSE can be applied.
This shortcode can be used instead of using a series of [i4w_onlyfor] shortcodes, making your code both shorter and easier to manage.
[ELSE_casetag] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_compare – This shortcode provides the ability to compare any two values based on a number of comparison operators.
This shortcode provides the ability to compare any two values based on a number of comparison operators.
The comparison operators are:
| equal | == | or | EQ |
|---|---|---|---|
| greater than | > | or | GT |
| less than | < | or | LT |
| greater or equal | >= | or | GE |
| less or equal | <= | or | LE |
| not equal | <> | or | NE |
| begins with | ~= | or | BW |
| ends with | =~ | or | EW |
| contains | ~~ | or | CONTAINS |
Any two values may be compared. The values may be hardcoded or be other shortcodes, custom shortcode parameters and session variables.
[ELSE_compare] conditional branching is supported.
Shortcode nesting is supported:
[i4w_compare1] thru [i4w_compare19]
[ELSE_compare1] thru [ELSE_compare19]
View Documentation →i4w_hidefrom – This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying...
This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying the embedded content to all subscribers except to those subscribers whose memberships or Keap contact ID's match the criteria passed as parameters. There are three variants, depending on the parameters used.
[ELSE_hidefrom] conditional branching is supported.
Shortcode nesting is supported: [i4w_hidefrom1] thru [i4w_hidefrom19]
[ELSE_hidefrom1] thru [ELSE_hidefrom19]
View Documentation →i4w_is_1xoptin – This shortcode provide conditional logic to display content alternatives depending on a contact’s...
This shortcode provide conditional logic to display content alternatives depending on a contact’s “single opt in” status.
[ELSE_is_1xoptin] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_is_2xoptin – This shortcode provide conditional logic to display content alternatives depending on a contact’s...
This shortcode provide conditional logic to display content alternatives depending on a contact’s “double opt in” status.
[ELSE_is_2xoptin] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_is_contact – This shortcode returns the embedded content if the current visitor is logged in and has the Keap...
This shortcode returns the embedded content if the current visitor is logged in and has the Keap ‘Contact ID’ specified in the parameter list.
[ELSE_is_contact] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_is_optout – his shortcode provide conditional logic to display content alternatives depending on a contact’s...
his shortcode provide conditional logic to display content alternatives depending on a contact’s “opt out” status.
[ELSE_is_optout] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_ismember – This shortcode is identical to the [i4w_onlyfor] shortcode EXCEPT that it doesn’t run the optional...
This shortcode is identical to the [i4w_onlyfor] shortcode EXCEPT that it doesn’t run the optional [ELSE] branch if a visitor is not logged in.
[ELSE_ismember] conditional branching is supported.
Shortcode nesting is supported:
[i4w_ismember1] thru [i4w_ismember19]
[ELSE_ismember1] thru [ELSE_ismember19]
View Documentation →i4w_ispayf – This shortcode returns the embedded content if the current subscriber is in a “failed payment” (PAYF)...
This shortcode returns the embedded content if the current subscriber is in a “failed payment” (PAYF), “suspended” (SUSP) or “cancelled” (CANC) status.
[ELSE_ispayf] conditional branching is supported.
Shortcode nesting is supported:
[i4w_ispayf1] thru [i4w_ispayf19]
[ELSE_ispayf1] thru [ELSE_ispayf19]
i4w_onlyfor – This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying...
This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying the embedded content only to those subscribers whose memberships or Keap contact ID match the criteria passed as parameters. There are three variants, depending on the parameters used.
[ELSE_onlyfor] conditional branching is supported.
Shortcode nesting is supported:[i4w_onlyfor1] thru [i4w_onlyfor19]
[ELSE_onlyfor1] thru [ELSE_onlyfor19]
View Documentation →i4w_show_bots – This shortcode enables segmenting content within a page, post, excerpt or text widget to define what...
This shortcode enables segmenting content within a page, post, excerpt or text widget to define what a search engine bot visitor may see. The content between the shortcode’s begin and ending tags will be displayed to the visiting bot. This shortcode allows you to define what content search engines should “see” and, consequently, index while keeping your visitor’s content separate.
This shortcode does NOT supports conditional branching with [ELSE_show_bots].
Shortcode nesting is NOT supported.
View Documentation →i4w_showafter – This shortcode enables segmenting content within a page, post, excerpt or text widget based on...
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 given, 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]
View Documentation →i4w_showafter_tag – This shortcode conditionally returns content depending on whether a certain number of days/weeks...
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]
View Documentation →i4w_showbefore – This shortcode enables segmenting content within a page, post, excerpt or text widget based on...
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 fewer than the number of days or weeks specified in the shortcode parameters or, if a date parameter is given, the given number of days or weeks have not yet passed since that date.
[ELSE_showbefore] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_showbefore_tag – This shortcode conditionally returns content depending on whether a certain number of...
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]
View Documentation →i4w_showbetween – This shortcode enables segmenting content within a page, post, excerpt or text widget based on...
This shortcode enables segmenting content within a page, post, excerpt or text widget based on either a subscriber's WordPress registration date, a date passed to the shortcode or based on the date that tags were assigned to the contact.
The content embedded between the shortcode's begin, ELSE and ending tags will be displayed if the subscriber meets the time requirements set forth in the shortcodes's parameters.
[ELSE_showbetween] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_showto – This shortcode is identical to i4wonlyfor.
This shortcode is identical to i4w_onlyfor. Please refer to i4w_onlyfor for usage and syntax.
[ELSE_showto] conditional branching is supported.
Shortcode nesting is supported: [i4w_showto1] thru [i4w_showto19]
[ELSE_showto1] thru [ELSE_showto19]
View Documentation →i4w_user_has_access – This shortcode enables you to check if a user has access to a given page/post, defined by its ID.
This shortcode enables you to check if a user has access to a given page/post, defined by its ID.
It can be useful when used in conjunction with [i4w_get_page] to combine various content elements into a combined page.
[ELSE_user_has_access] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →i4w_user_no_access – This shortcode enables you to check if a user has access to a given page/post, defined by its ID.
This shortcode enables you to check if a user has access to a given page/post, defined by its ID.
It can be useful when used in conjunction with [i4w_get_page] to combine various content elements into a combined page.
strong>[ELSE_user_no_access] conditional branching is supported.
Shortcode nesting is NOT supported.
View Documentation →