Skip to content
SwankInnovations edited this page Sep 13, 2010 · 15 revisions

Welcome to the wiki for the Conditional Tags extension (a Radiant CMS extension).

Table of Contents:

Overview (Or, Why Would I Use This?)

The Conditional Tags extension adds two new tags to Radiant that you can use in pages:


and,

Both of these tags evaluate conditional statements that you supply and, depending on their outcome, expand their contents or not. For example, the following code:


This is my homepage. This is NOT my homepage.

Will show “This is my homepage.” if the title of the current page is “my homepage” — otherwise it outputs “This is NOT my homepage.”