This page is a temporary web page to show how the connection with the members’ area will work within WordPress pages.
Currently after logging in four cookies are set recording 1) member no, 2) member name, 3) member status (do they have a current subscription) and 4) 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 ]:
No memberNo cookie foundNo memberName cookie found
No memberStatus cookie found
No loginDate cookie found
For display purposes on the page there is [ member_no ]:
[ member_status ]: No memberStatus cookie found [ login_date ]: No loginDate cookie found
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 so cannot view the latest Glaven Historian.Membership status
There are the following shortcode pairs:
[ is_current_member ]…[ /is_current_member ]
[ is_not_current_member ]…[ /is_not_current_member ]
[ is_lapsed_member ]…[ /is_lapsed_member ]
[ is_not_lapsed_member ]…[ /is_not_lapsed_member ]
