Purchase a license: $65

Purchases made through PayPal. Full refunds available within 30 days.

EE2 + 1.7.X compatible

Questions + support for purchased licenses: support@buildwithstructure.com

Tags

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_title_for:XXX}

The title of a specific entry using the entry ID

{structure:page:slug}

The segment for the current page

{structure:page_slug_for:XXX}

The slug of a specific entry using the entry ID

{structure:page:uri}

The same as EE's native "page_uri" variable

{structure:page_uri_for:XXX}

The URI of a specific entry using the entry ID

{structure:page:url}

The same as EE's native "page_url" variable

{structure:page_url_for:XXX}

The URL of a specific entry using the entry ID

{structure:child_ids}

Returns IDs of children for the current page.

Example: "24" or "4|8|5|16|23|42"

{structure:child_ids_for:XXX}

Returns IDs of children for a specific page.

{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:sibling_ids}

Returns the sibling IDs of the current page.

Example: "24" or "4|8|5|16|23|42"

{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