This page is a temporary web page to show how the connection with the members’ area will work within WordPress pages. You need to view this page before and after login as the information displayed will change.
Currently after logging in several cookies are set recording 1) member no, 2) full member name, 3) first name, 4) last name, 5) member status (do they have a current subscription), 5) current login date, 6) previous login date and time, 7) greeting .
Important: shortcodes are enclosed in square brackets. They are shown in the description below with a space after the [ and a space before the ] – if not they won’t display correctly.
For simple diagnostics there is:
[ check_member ]
For use on wordpress pages there several shortcodes
For display purposes on the page there is:
[ member_no ]:
[ member_name ]:
[ member_first_name ]:
[ member_last_name ]:
[ member_greeting ]:
[ member_status ]:
[ current_login_date ]:
[ previous_login_date_time ]:
[ grace_period_in_days]
[ member_primary_email]
[ member_secondary_email]
[ current_membership_year]
Shortcode pairs
The following are shortcode pairs that are used to enclose other shortcodes and standard page content. It allows a web page to show information conditional on the status of the member (are they logged in, do they have a current subscription…)
Login status
[ is_logged_in ]
…
[ /is_logged_in ]:
There is also [ is_not_logged_in ]…[ /is_not_logged_in ]:
You are not logged in. Please login.
Membership status
There are the following shortcode pairs:
[ is_current_member ]
The member is logged in and has a current subscription which is more specific than just being logged in where your membership status might be current or lapsed.
[ /is_current_member ]
[ is_not_current_member ]
The member is logged in and their subscription is not current which is more specific than just being logged in where your membership status might be current or lapsed…
[ /is_not_current_member ]
[ is_lapsed_member ]
The member is logged in and their subscription is lapsed which is more specific than just being logged in where your membership status might be current or lapsed…
[ /is_lapsed_member ]
[ is_not_lapsed_member ]
The member is logged in and their subscription is not lapsed.
[ /is_not_lapsed_member ]
[ is_change_password_now ]
The member is logged in and their password is required to be updated.
[ /is_change_password_now ]
[ is_not_change_password_now ]
The member is logged in and their password doesn’t need to be updated.
[ /is_not_change_password_now ]
Member ## is logged in and their password doesn’t need to be updated.
[ is_login_blocked ]
The member’s login is blocked so they may not log in.
[ /is_login_blocked ]
[ is_not_login_blocked ]
The member’s login is not blocked so they may log in.
[ /is_not_login_blocked ]
[ is_content_access_blocked ]
The member is logged in but they may not access content.
[ /is_content_access_blocked ]
[ is_not_content_access_blocked ]
The member is logged in but they may not access content.
[ /is_not_content_access_blocked ]
[ is_content_accessible ]
The member is logged in and they may access content.
[ /is_content_accessible ]
[ is_not_content_accessible]
