Tags
These tags are for EE2 only and require Structure 3.0+. View EE1 tags and documentation »
First Child Redirect
{exp:structure:first_child_redirect}
Add this tag (and only this tag) to a template and it will redirect you to the first child.
No Parameters
Global Variables
{structure:variable:value}
A library of global variables related to the current page. Variables will not work inside snippets.
{structure:child_listing:channel_id}
The channel ID of a channel attached as a listing
{structure:child_listing:short_name}
The channel short name of a channel attached as a listing
{structure:is:page}
Returns 1 or blank for the current page
Detects if the current page is a page type of "Page" in Structure » Channel Settings
{structure:is:listing}
Returns 1 or blank for the current page
Detects if the current page is a listing detail page
{structure:is:listing:parent}
Returns 1 or blank for the current page
Detects if the current page is a page type of "Listing" in Structure » Channel Settings (has a listing attached to it)
{structure:page:entry_id}
The current page's "entry_id" variable
{structure:page:title}
The same as EE's native "title" variable
{structure:page:slug}
The segment for the current page
{structure:page:uri}
The same as EE's native "page_uri" variable
{structure:page:url}
The same as EE's native "page_url" variable
{structure:child_ids}
Returns IDs of children for the current page.
Example: "24" or "4|8|5|16|23|42"
{structure:parent:entry_id}
The entry ID of the current page's parent
{structure:parent:title}
The "title" variable of the current page's parent
{structure:parent:slug}
The single segment of the URL/URI of the current page's parent
{structure:parent:uri}
The full URI of the current page's parent
{structure:parent:url}
The full URL of the current page's parent
{structure:top:entry_id}
The entry ID of the current page's top level parent
{structure:top:title}
The "title" variable of the current page's top level parent
{structure:top:slug}
The single segment of the URL/URI of the current page's top level parent
{structure:top:uri}
The full URI of the current page's top level parent
{structure:top:url}
The full URL of the current page's top level parent
SAEF Select
{exp:structure:saef_select}
Used inside a SAEF form to select the parent and template assign to a page. Related SAEF documentation
Type
type=”template|parent”, defaults to none
Outputs form fields to select the template or parent
Siblings
{exp:structure:siblings}
This tag will traverse back and forth between siblings pages in your main navigation tree and auto-detect where you are in the hierarchy. Examples of its usage can be found in our sibling tag documentation examples.
Entry ID
entry_id="XX", defaults to Current page's ID
Allows you to force a different starting page.
Next (tag pair)
n/a - only variables
Available variables: title, url, entry_id, parent_id, channel_id, status
Previous (tag pair)
n/a - only variables
Available variables: title, url, entry_id, parent_id, channel_id, status
Title Trail
{exp:structure:titletrail}
The titletrail tag displays in a standardized format and has a few parameters to control its output. Format = Page You're On » Parent Page » Top Level Nav » Site Name
Custom Title Field
channel:title="channel:custom_field|channel_2:custom_field_2", defaults to entry title (when unset)
Uses a specific custom field per channel instead of the default title variable.
Entry ID
entry_id="XX", defaults to current page's ID
Specify a trail to show
Reverse
reverse="yes"
Output = "Site Name » Parent Page » Page You're On"
Separator
separator=":"
Spaces are automatically added around the element for you.
