Dev: About Conditional Elements

Some features of the LLIR website depend upon conditional elements. Creating and maintaining conditional elements requires no knowledge of coding or HTML, but working with them is one of the more advanced topics a LLIR Webmaster is likely to encounter. Kadence supports four types of conditional elements and sometimes refers to them as hooked elements because they provide a way to add programming-style logic to a website. So far, the LLIR website uses only one type: Content Sections . The conditional elements defined at the time of this writing are and are described below.

Conditional Elements Currently Defined

The rest of this page lists and briefly describes the conditional elements defined so far. All are Content Sections, the most common and useful type of conditional element. If you want to add more conditional elements, start by following a tutorial from the Kadence knowledge base. For instructions on modifying or deleting these elements, see Working with Conditional Elements.

Expand an element name below to see the the element’s content, by an explanation of its purpose and a description of where and when it appears.

Developer Notes — For administrator Eyes Only

This element gives WordPress administrators convenient access to these Developer Notes. Its contents include the brown background. This brown bar appears above the footer on the Member Home page only when a WordPress administrator is logged in on a large-screen device.

Use this element to warn members of situations at Glendon Campus that may affect their experience attending lectures. Switch it on in the morning of or evening before lecture days. The message on a red background appears at the top of the Welcome to LLIR and Member Home pages. For instructions, including how to customize the text for specific situations and set the automatic turn-off time, see How to Display the Facilities Notice.
When the page opens, a WordPress plug-in replaces the characters “current_date”, when enclosed in [ ], with the current date.

Use this element to inform members that lectures are cancelled due to snow or other weather events. Switch it on in the morning of or evening before lecture days. The message on a red background appears at the top of the Welcome to LLIR and Member Home pages. For instructions, including how to set the automatic turn-off time, see How to Display the Lectures Cancelled.
When the page opens, a WordPress plug-in replaces the characters “current_date”, when enclosed in [ ], with the current date.

Please Log In

This element appears on all pages in the member-only area of the website whenever a user who is not logged in tries to open a member-only page. Its white background is displayed as light grey here. Pages in the public area of the website are exempted from this element, as explained in the page How to Suppress the Please Log In Message.
When the page opens, a WordPress plug-in replaces the characters “current_date”, when enclosed in [ ], with the current date.
See also Public and Member Only Pages and Security Matters.

Note: This element does not give complete protection to member-only pages. Users can scroll down to see the page contents but cannot access the Member Menu without logging in.

The Waitlist is Open

We are now adding names to our waitlist. The size of the waitlist is limited to attempt to keep the time that applicants can expect to wait for membership to under two years.

When your name rises to the top of the waitlist, we send an email inviting you to become a member of LLIR and to register for courses.

Note: Applications carry forward from year to year. Please do not apply again if you did so within the last few years.

Ready to Apply?

Be sure to review the considerations listed above so we can process your form successfully. Then complete the form that opens when you click the button below.

The purpose of this element was include the text above and the button that opens the waitlist application form on the Waitlist Process page on the condition that the waitlist is open. Its white background is displayed as light grey here. The instructions How to Open or Close the Waitlist describe how a WordPress administrator can control dates and times when the waitlist is opens and closes. For an explanation why this element is no longer in use, see How Menus Can Change During LLIR Processes.

The actual element and its associated pages in the Developer Notes have not been deleted in case they they may serve as an example of building dynamic content into the website in the future.