Skip to main content

r:breadcrumbs

<r:breadcrumbs />

This tag outputs site breadcrumbs in an unordered list.

Attribute Options

ul_id="your-id" - The ID that the unordered list should have.

ul_class="your-class" - The class that the unordered list should have.

link_class="your-anchor-class" - Apply classes to each anchor tag (<a>) in the unordered list.

include_link_ids="false" - Boolean. Default value: false Enables/disables output of ID's set via the Link Attributes tab in Page Properties on anchor tags (<a>).

NOTE: Be careful enabling this on r:breadcrumbs. If you don't have this set to false on r:site_menu, r:sub_menu, and r:ancestor_menu, you will have duplicate ID's being output for the main navigation and ancestor navigation.

Example usage:

<r:breadcrumbs ul_id="my-breadcrumbs-id" ul_class="wvu-breadcrumbs__crumbs" link_class="your-anchor-class" include_link_ids="false" />

{% breadcrumbs %}

This tag outputs site breadcrumbs in an unordered list.

Attribute Options

ul_id: "your-id" - The ID that the unordered list should have.

ul_class: "your-class" - The class that the unordered list should have.

link_class: "your-anchor-class" - Apply classes to each anchor tag (<a>) in the unordered list.

include_link_ids: "false" - Boolean. Default value: false. Enables/disables output of ID's set via the Link Attributes tab in Page Properties on anchor tags (<a>).

NOTE: Be careful enabling this on breadcrumbs. If you don't have this set to false on site_menu, sub_menu, and ancestor_menu, you will have duplicate ID's being output for the main navigation and ancestor navigation.

Example:

{% breadcrumbs ul_id: "my-breadcrumbs-id", ul_class: "wvu-breadcrumbs__crumbs", link_class: "your-anchor-class", include_link_ids: "false" %}

Last updated on March 15, 2021.

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • A link to the page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?

Kindly email CleanSlate@mail.wvu.edu for help or use the form on the request help page.