Skip to main content

Login & Logout Shortcodes

Shortcodes for login forms, logout, and authentication status.

i4w_first_login – This shortcode is designed to segment content on a page, post, excerpt or text widget based upong...

This shortcode is designed to segment content on a page, post, excerpt or text widget based upong a user’s “first login” status.

strong>[ELSE_first_login] conditional branching is supported.

Shortcode nesting is NOT supported.

View Documentation →
i4w_is_admin – This shortcode returns the embedded content if the current visitor is an administrator.

This shortcode returns the embedded content if the current visitor is an administrator.

[ELSE_is_admin] conditional branching is supported.

Shortcode nesting is NOT supported.

View Documentation →
i4w_is_logged_in – This shortcode returns the embedded content if the current visitor is logged in.

This shortcode returns the embedded content if the current visitor is logged in.

[ELSE_is_logged_in] conditional branching is supported.

Shortcode nesting is NOT supported.

View Documentation →
i4w_login_form – This shortcode returns a WordPress login form through which a visitor can log in.

This shortcode returns a WordPress login form through which a visitor can log in. It’s based on the default WordPress login form found at wp-login.php.

This shortcode does NOT supports conditional branching with [ELSE_login_form].

Shortcode nesting is NOT supported.

View Documentation →
i4w_login_url – This shortcode pulls the default login page’s URL defined as defined in the “Plugin Options”...

This shortcode pulls the default login page’s URL defined as defined in the “Plugin Options” settings panel.

This shortcode does NOT supports conditional branching with [ELSE_login_url].

Shortcode nesting is NOT supported.

View Documentation →
i4w_logout_url – This shortcode generates a link to log out of the membership site, taking your logout redirect...

This shortcode generates a link to log out of the membership site, taking your logout redirect settings into account.

This shortcode does NOT supports conditional branching with [ELSE_logout_url].

Shortcode nesting is NOT supported.

View Documentation →
i4w_menu_loginout_label – This shortcode returns “Login” is the visitor is not logged in and “Logout” if s/he is.

This shortcode returns “Login” is the visitor is not logged in and “Logout” if s/he is. It is primarily intended for use in WP menu items, but can be used anywhere.

This shortcode does NOT supports conditional branching with [ELSE_menu_loginout_label].

Shortcode nesting is NOT supported.

View Documentation →
i4w_menu_loginout_url – Depending on the visitor’s login status, this shortcode returns either the login URL or the...

Depending on the visitor’s login status, this shortcode returns either the login URL or the logout URL.

This shortcode does NOT supports conditional branching with [ELSE_menu_loginout_url].

Shortcode nesting is NOT supported.

View Documentation →
i4w_minilogin – This shortcode returns a miniature HTML form through which a visitor can log in.

This shortcode returns a miniature HTML form through which a visitor can log in. As the name implies, it’s designed to have a small footprint.

This shortcode does NOT supports conditional branching with [ELSE_minilogin].

Shortcode nesting is NOT supported.

View Documentation →
i4w_not_logged_in – This shortcode returns the embedded content if the current visitor is NOT logged in.

This shortcode returns the embedded content if the current visitor is NOT logged in.

[ELSE_not_logged_in] conditional branching is supported.

Shortcode nesting is NOT supported.

View Documentation →