Breadcrumbs Page on Wordpress 5.7.4
Preview this component (Custom Element; v2.3.0; 9/29/2021)
Guidelines using the component
Technical Information
Note that this is used in conjunction with the Breadcrumbs component.
Often, a CMS will have tools that automate the breadcrumb trail and can generate this automatically. Contact the team that is working with your CMS to see if this can be automated.
Description
The Illinois components implementation of breadcrumbs provides a list of formatted links that provide the path between the site’s home page and the page the reader is currently viewing.
The tag <il-breadcrumbs>
is used for the container which will include one or more <il-breadcrumb-page>
items in order to provide a navigable path for users to move to different points in the website’s structure.
Recommended patterns
- The entire group of breadcrumbs should be enclosed within the
<il-breadcrumbs>
tag. - Each breadcrumb item should get its own
<il-breadcrumbs-page>
tag. - The site’s home page should be the first item in the list of breadcrumbs and should link to the site root.
- Pages used to navigate between the home page and the current page should also be listed and linked.
- The current page item should contain the “current” tag in code and should not be linked, since following a link to the current page would just reload the page.
Customizations and notes
- There’s not much to change about breadcrumbs. The dividers between the breadcrumbs are an SVG icon which looks like the greater-than symbol (
>
), and this is not alterable. <il-breadcrumbs>
creates a labelled<nav>
tag so you don’t need to add a<nav>
tag separately.
Component Display
Change Your Content and Options
Template -- enter raw HTML here
Important Classes
N/A
Classes
N/A
Attributes
Advanced Options
These options are only to be used in advanced situations -- most of your needs should be met through the attributes and classes, and this breaks the intent of having a unified design.
Custom Style Tag before text
N/A
How to add it to your page
Copy and paste this in your page. Remember
- Make sure you have updated your component to make sure the below code is completed.
- Make sure you have the Header code in your header.
Note that this uses the custom style 'builder-custom'. You may need to change this if you are using multiple versions of this component with different styles.