member-validation

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) and 5) the login date.

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 ]

memberNo: not set
memberName: not set
memberFirstName: not set
memberLastName: not set
memberStatus: not set
loginDate: not set



For display purposes on the page there is:

[ member_no ]:


[ member_name ]:



At the moment a + appears between the first and last names unless I’ve already fixed it.


[ member_status ]:


[ login_date ]:


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 ]