Breadcrumbs

Add breadcrumb navigation trails to your posts and pages, helping visitors understand where they are in your site hierarchy while boosting SEO with structured Schema.org markup.

Use Cases

  • Add breadcrumb trails to e-commerce sites with deep category structures so users can navigate back easily
  • Implement Schema.org breadcrumb markup for better Google search results and rich snippets
  • Help visitors understand their location on complex sites with multiple content types

How It Works

  1. Enable the module and configure your preferred settings
  2. Add breadcrumbs using the shortcode or enable auto-display
  3. The module builds a trail from your homepage to the current page
  4. Schema.org markup is automatically included for SEO benefits
  5. Visitors can click any breadcrumb to navigate back up the hierarchy

Where to Find It

Location: Use the [breadcrumbs] shortcode in your content, or enable auto-display to add breadcrumbs automatically.

Settings

SettingTypeDefaultDescription
SeparatorSelectCharacter between breadcrumb items
Home TextTextHomeLabel for the home link
Auto DisplaySelectManualChoose to auto-display before/after content or use shortcode
Display OnTagspost, pageSelect which post types show breadcrumbs

Separator Options

Choose from several separator styles:

  • Right Arrow (default)
  • / Slash
  • > Greater Than
  • Long Right Arrow
  • » Double Right Arrow
  • | Pipe
  • · Dot

Shortcode

Use [breadcrumbs] to place breadcrumbs anywhere in your content:

[breadcrumbs]

Output example: Home › Blog › Category › Post Title

Shortcode Options

Override default settings directly in the shortcode:

ShortcodeOutput
[breadcrumbs]Home › Blog › Post Title
[breadcrumbs separator="/"]Home / Blog / Post Title
[breadcrumbs home_text="Start"]Start › Blog › Post Title
[breadcrumbs separator="→" home_text="Main"]Main → Blog → Post Title

Using in Theme Templates

Add breadcrumbs directly to your theme templates:

<?php echo do_shortcode('[breadcrumbs]'); ?>

Styling

The breadcrumbs are wrapped in a <nav> element with class switchboard-breadcrumbs. Customize with CSS:

.switchboard-breadcrumbs {
    font-size: 14px;
    padding: 10px 0;
    margin-bottom: 20px;
}

.switchboard-breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.switchboard-breadcrumbs a:hover {
    text-decoration: underline;
}

Schema.org Markup

The breadcrumbs automatically include Schema.org BreadcrumbList markup, which helps search engines understand your site structure. This can result in enhanced search results showing your breadcrumb trail directly in Google.

Example of the structured data generated:

<nav class="switchboard-breadcrumbs" aria-label="Breadcrumb">
  <ol itemscope itemtype="https://schema.org/BreadcrumbList">
    <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
      <a itemprop="item" href="/">
        <span itemprop="name">Home</span>
      </a>
      <meta itemprop="position" content="1">
    </li>
    <!-- Additional items... -->
  </ol>
</nav>

FAQ

Will breadcrumbs show on my homepage?No, breadcrumbs automatically hide on your homepage since there’s nothing to navigate back to. They only appear on interior pages.
Do breadcrumbs work with custom post types?Yes! Enable your custom post types in the “Display On” setting. Breadcrumbs will show the hierarchy based on categories or parent pages.
How do breadcrumbs help SEO?The Schema.org markup tells Google about your site structure. Google may display breadcrumbs in search results, making your listings more informative and clickable.
Can I use breadcrumbs with page builders?Yes, use the shortcode [breadcrumbs] in any text element or shortcode block in your page builder.

Place breadcrumbs at the top of your content, just below the header. This is where users expect to find them and where they’re most useful for navigation.

PRO

Get access to all 147 modules with a single license

Upgrade to Pro