Navigation module

Breadcrumbs block

Shows where the visitor is — Home › Category › Post — and builds itself for every page, post, archive and search, with breadcrumb structured data for search engines.

Overview

Breadcrumbs is a small trail of links from your home page to the current page. You don’t enter anything: it works out the trail for whatever is being viewed. Posts show their category (and parent categories), pages show their parent pages, products show the Shop page and product category, and archives, search results and the 404 page get a fitting last step.

Place it once in a template (Appearance → Editor) to show it everywhere, or in a single page.

At a glance

Block name
wpbb/breadcrumbs
Module
Navigation
Find it by searching
Breadcrumbs
Loads JavaScript on the site
No

When and why to use it

  • Above the title in post, page, product and archive templates.
  • Deep sites — documentation, shops, nested pages — where visitors need to find their way back.

Example scenarios

  • Blog template: above the post title — “Home › Guides › Setup › How to install”.
  • Shop: in the product template — “Home › Shop › Shoes › Trail runner”.

How to add the Breadcrumbs block

  1. Open the editor. In your WordPress dashboard go to Pages (or Posts) and click the page you want to edit, or click Add New. For headers, footers and templates, use Appearance → Editor (block themes).
  2. Add a new block. Click the blue + (Block Inserter) button in the top-left corner, or the small + that appears where you want the block. You can also type / on an empty line.
  3. Search for the block. Type Breadcrumbs in the search field. Brigade Blocks appear in the Brigade Blocks category and show the coral block icon.
  4. Insert it. Click Breadcrumbs in the results. The block appears with the trail of the page you are editing (a sample trail in templates).
  5. Configure the content. Edit the text directly on the block, then open the Settings tab (gear icon) in the right-hand sidebar for the options described below. If the sidebar is hidden, click the gear icon in the top-right corner.
  6. Customise the design. Switch to the Styles tab (half-filled circle icon) to change colours, spacing, borders and more — see Design & styling.
  7. Save or publish. Click Save draft to keep working later, Preview to check it, or Publish / Update to make it live.

Content settings

You set up this block in two places: on the block itself in the editor, and in the Settings tab (gear icon) of the sidebar on the right. Every option is listed below, with its default value.

Block toolbar

Align

What it does
Aligns the trail.
What to enter or choose
One of: Align left, Align center, Align right.
Default
Align left
How to use it
Select the block; the button is in the toolbar that appears above it.
Example
Centre above a centred title.
Result
The trail moves.

Settings panel: Breadcrumbs

Separator

What it does
The character between steps.
What to enter or choose
One of: ›, /, →, |, ·.
Default
›
How to use it
Click one of the buttons in the group.
When to use it
Always optional.
Example
›.
Result
Hidden from screen readers, which announce the trail as a list.

Show Home

What it does
Starts the trail with a link to your home page.
What to enter or choose
On or off.
Default
On
How to use it
Click the switch to turn it on (blue) or off.
When to use it
Almost always.
Example
On.
Result
Home is the first step.

Home labelShown when Show Home is on

What it does
The text of the first step.
What to enter or choose
Text, or empty for “Home”.
Default
Empty
How to use it
Type into the text field. Changes appear in the preview right away.
When to use it
Optional.
Example
Your site’s name.
Result
The first step shows your text.

Home as an iconShown when Show Home is on

What it does
Shows a house icon instead of the label.
What to enter or choose
On or off.
Default
Off
How to use it
Click the switch to turn it on (blue) or off.
When to use it
Optional.
Example
On for a compact trail.
Result
Screen readers still hear the label.

Show current page

What it does
Ends the trail with the current page’s name.
What to enter or choose
On or off.
Default
On
How to use it
Click the switch to turn it on (blue) or off.
When to use it
Off if the page title sits right below.
Example
On.
Result
The last step is plain text marked as the current page.

Structured data for search engines

What it does
Adds BreadcrumbList data that search engines can show in results.
What to enter or choose
On or off.
Default
On
How to use it
Click the switch to turn it on (blue) or off.
When to use it
Turn off if an SEO plugin (Yoast, Rank Math…) already adds breadcrumb data, so it isn’t there twice.
Example
On.
Result
A JSON-LD script after the trail.

Design & styling

Select the block, open the Styles tab in the settings sidebar (the half-filled circle icon next to the gear) and use the three pickers at the top of the Style panel:

  1. Element — which part of the block to style.
  2. State — Normal, or a state such as Hover (only the states the part supports are offered).
  3. Device — Desktop, Tablet or Mobile, for values that can differ per screen size.

Only panels that make sense for the chosen part and state are shown. The full meaning of every control is in the Styling Controls guide; below is exactly what Breadcrumbs offers.

Linked steps. Hover and Focus states.

Styles-tab controls for “Links”
PanelControlPer deviceAvailable in states
TypographyFont family—Normal
Font sizeYesNormal
Weight—Normal
Style—Normal
Line heightYesNormal
Letter spacingYesNormal
Letter case—Normal
AlignmentYesNormal
Decoration—Normal, Hover, Focus
ColorsText—Normal, Hover, Focus

States for this part:

  • Hover — When the mouse pointer is over it. (Touch screens have no hover; they show the normal style.)
  • Focus — When it has keyboard focus — reached with the Tab key. Mouse clicks usually do not show focus styles.

Element: Block

The trail (font size, colour).

Styles-tab controls for “Block”
PanelControlPer deviceAvailable in states
TypographyFont family—Normal
Font sizeYesNormal
Weight—Normal
Style—Normal
Line heightYesNormal
Letter spacingYesNormal
Letter case—Normal
AlignmentYesNormal
Decoration—Normal
ColorsText—Normal
BackgroundType—Normal
Color / Gradient—Normal
Image—Normal
BorderBorder type—Normal
Border—Normal
RadiusYesNormal
Box ShadowRemove shadow—Normal
Shadow layers—Normal
SpacingMarginYesNormal
PaddingYesNormal
SizingWidthYesNormal
Max widthYesNormal
HeightYesNormal
Min width / Min height / Max heightYesNormal
Block alignmentYesNormal
PositionPositionYesNormal
Top / Right / Bottom / LeftYesNormal
Z-indexYesNormal
OverflowYesNormal
TransformMove X / Move Y—Normal
Scale X / Scale Y—Normal
Rotate (°), Rotate X (°), Rotate Y (°)—Normal
Skew X (°) / Skew Y (°)—Normal
EffectsOpacity (%)YesNormal
State transition (ms)—Normal
Timing—Normal
VisibilityShow on Desktop / Tablet / Mobile—Normal

States: Normal only.

Element: Current page

The current page.

Styles-tab controls for “Current page”
PanelControlPer deviceAvailable in states
TypographyFont family—Normal
Font sizeYesNormal
Weight—Normal
Style—Normal
Line heightYesNormal
Letter spacingYesNormal
Letter case—Normal
AlignmentYesNormal
Decoration—Normal
ColorsText—Normal

States: Normal only.

Element: Separator

The separators.

Styles-tab controls for “Separator”
PanelControlPer deviceAvailable in states
ColorsText—Normal
SizingWidthYesNormal
Max widthYesNormal
HeightYesNormal
Min width / Min height / Max heightYesNormal

States: Normal only.

Responsive settings

Brigade Blocks uses three screen sizes: Desktop (wider than 1023px), Tablet (600–1023px) and Mobile (599px and narrower). Tablet and Mobile values are optional: when empty, the value of the next larger screen is used.

In the Styles tab, pick the Device first; these controls can then have a different value for that screen size: Font size, Line height, Letter spacing, Alignment, Radius, Margin, Padding, Width, Max width, Height, Min width / Min height / Max height, Block alignment, Position, Top / Right / Bottom / Left, Z-index, Overflow, Opacity (%).

The Visibility panel (Styles tab, Normal state) can hide the block entirely on Desktop, Tablet or Mobile.

Advanced options

  • HTML anchor (Advanced section of the Settings tab) — a unique name such as pricing, so you can link straight to this block with #pricing at the end of the page address (for example from a menu).
  • Additional CSS class(es) (Advanced section) — for custom CSS from your theme or the Site Editor. Separate several classes with spaces.
  • Custom attributes (Advanced section) — add data-*, title, aria-label, aria-describedby, lang or dir attributes. See Custom attributes.
  • State transition (Styles tab → Effects, Normal state) — how smoothly hover and focus styles animate.

How it works on your site

A <nav aria-label="Breadcrumb"> with an ordered list; the current page has aria-current="page". Optional JSON-LD structured data. No JavaScript.

Limitations and notes

  • Posts show their deepest category; if a post is in several, the one with the most parent categories is used.
  • Developers can change the trail with the wpbb_breadcrumbs_trail filter.

Troubleshooting

The trail only shows Home.

On the front page that is correct. In the Site Editor the block shows a sample, because a template has no page of its own.