On this page:


<txp:breadcrumb />

The breadcrumb tag is a single tag which is used to create breadcrumb navigation. It provides either hyperlinked navigation, or plain text positional display. Breadcrumbs are not displayed on the ‘default’ section (home page) of your site.


Tag will accept the following attributes (case-sensitive):

Whether to hyperlink breadcrumbs.
Values: 0 (no) or 1 (yes).
Default: 1.
linkclass="class name"
HTML class attribute applied to the breadcrumb links.
Default: unset.
Character to be used as the breadcrumb separator.
Default:  » .
Whether to display the title or not.
Values: 0 (no, display name) or 1 (yes).
Default: 0.

Common presentational attributes

These attributes, which affect presentation, are shared by many tags. Note that default values can vary among tags.

class="class name"
HTML class to apply to the wraptag attribute value.
Default: unset (see class cross-reference).
Label prepended to item.
Default: unset (but see label cross-reference for exceptions).
HTML element to wrap breadcrumb block, specified without brackets (e.g. wraptag="p").
Default: unset (but see wraptag cross-reference for exceptions).


Example 1: Display a hyperlinked breadcrumb trail

<txp:breadcrumb label="Navigation" separator="::" link="1" wraptag="p" />

Provides hyperlinks to sections or categories in a breadcrumb style, linking back to your home page.

Example 2: Display a text only breadcrumb trail

<txp:breadcrumb label="Navigation" separator="/" link="0" wraptag="p" />

Provides a breadcrumb guide that reflects where a user is within the site’s navigation.


Version 4.5.0

Default class="noline" for linkclass attribute removed (now unset).

Version 4.3.0

sep attribute deprecated and renamed separator.

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.