Site slogan

On this page:

Syntax

<txp:site_slogan />

The site_slogan is a single tag which is used to output the site’s tagline (labeled as ‘Site slogan’ in the Preferences panel).

The slogan is a brief (255 characters maximum) tagline or description of your site which can be used, for example, in XML feeds.

Attributes

This tag has no attributes.

Examples

Example 1: General display of slogan

<h2>
    <txp:site_slogan />
</h2>

Example 2: Slogan as content filler

The slogan could be used for the content attribute of the description metadata element. Either whole…

<meta name="description" content="<txp:site_slogan />">

or partial…

<meta name="description" content="<txp:site_slogan />. And the rest of your pithy description would go here.">

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.