Breadcrumbs are one of those small interface details that quietly make a website easier to use. A short trail like Home › Blog › WordPress › This Article tells visitors exactly where they are and gives them a one-click way back to broader sections. Until recently, adding breadcrumbs to WordPress usually meant a theme feature, an SEO plugin option or custom code. With WordPress 7.0, there is now a native WordPress Breadcrumbs block built right into core. In this guide you will learn what the block does, how to add it to your templates, how developers can customise the trail with two new filters, and how to get the most SEO and usability value from breadcrumbs.
What Are Breadcrumbs and Why Do They Matter?
Breadcrumb navigation is a secondary navigation aid that shows the path from the homepage to the current page. The name comes from the fairy tale in which children leave a trail of breadcrumbs to find their way home. On a website, the trail serves the same purpose.
Well-implemented breadcrumbs bring several benefits:
- Better orientation. Visitors who land on a deep page from search immediately understand where it sits in your site.
- Easier exploration. One click takes readers to the parent category or section, which encourages them to read more.
- Stronger internal linking. Every breadcrumb is a contextual internal link to an important hub page, helping search engines discover and understand your structure.
- Clearer site hierarchy for search engines. Combined with structured data, breadcrumbs help search engines represent your page’s position in a meaningful way.
- Accessibility support. A consistent location indicator helps everyone, including people using assistive technology, navigate with confidence.
Meet the WordPress Breadcrumbs Block
WordPress 7.0, released on May 20, 2026, introduced the Breadcrumbs block (core/breadcrumbs) as part of a broader set of new blocks and design tools. The block automatically generates a trail from the homepage to the page being viewed, based on the content’s real structure. You do not have to build or maintain trails by hand.
The block understands a wide range of WordPress contexts, including:
- Hierarchical pages, so a child page shows its parent and grandparent pages.
- Posts and their taxonomies, such as categories, including parent categories.
- Archives for categories, tags, authors and dates.
- Custom post types and their archives.
- Search results and 404 pages.
- Paginated views, where a page number can be added to the trail.
Because it is a regular block, it also works with the familiar design tools in the editor, so you can style typography, colours and spacing to match your theme, and choose alignments that suit your layout.
Key block settings
- Show on the home page – decide whether the trail appears on your front page, where it is often unnecessary.
- Hierarchy preference – for content that could be described either way, prefer the post hierarchy (the default) or the taxonomy term hierarchy.
- Design tools – typography, colour, spacing and alignment controls, just like other core blocks.

How to Add the Breadcrumbs Block in a Block Theme
Breadcrumbs work best when they appear consistently in the same place on every relevant page, so the ideal home is a template or template part rather than individual posts. Here is the quickest way to add them with the Site Editor:
- Go to Appearance › Editor and open Templates.
- Choose the Single Posts template (often called “Single”).
- Click just above the Post Title block, open the inserter and search for Breadcrumbs.
- Insert the block and adjust its settings and styles in the sidebar.
- Save the template, then repeat for the Pages, Archive and Search templates if you want the trail there too.
Many site owners prefer placing breadcrumbs inside the header template part, directly below the main navigation. That approach shows the trail site-wide with a single edit. Remember to switch off “show on home page” so the front page stays clean.
Adding breadcrumbs with block markup
If you build themes in code, you can add the block directly to a template file such as templates/single.html:
<!-- wp:breadcrumbs /-->
<!-- wp:post-title {"level":1} /-->
Configure the block once in the editor, then copy its markup (with your chosen attributes) from the Code Editor view into your theme files so every environment stays consistent.
Using the Breadcrumbs Block in a Classic Theme
Classic themes do not use the Site Editor, but they can still render blocks from PHP. One approach is to render the block markup with do_blocks() in a template file such as single.php, just above the title:
<?php
if ( function_exists( 'do_blocks' ) ) {
echo do_blocks( '<!-- wp:breadcrumbs /-->' );
}
?>
Test this on staging first and add some CSS to match your theme. If your classic theme or SEO plugin already provides breadcrumbs, you can simply keep using that feature; the goal is one clear, consistent trail per page.
Customising the Trail with Developer Filters
WordPress 7.0 ships two PHP filters that give developers fine control over the breadcrumb output without rewriting HTML.
block_core_breadcrumbs_items
This filter receives the final array of breadcrumb items just before rendering. Each item is an array with a label and, for linked items, a url. You can add, remove, rename or reorder items. For example, to insert a “Shop” crumb after the home link:
add_filter( 'block_core_breadcrumbs_items', function ( $items ) {
if ( ! is_singular( 'product' ) ) {
return $items;
}
$shop = array(
'label' => __( 'Shop', 'my-theme' ),
'url' => home_url( '/shop/' ),
);
// Keep the first item (Home) and insert Shop after it.
array_splice( $items, 1, 0, array( $shop ) );
return $items;
} );
Plugins use this filter too. WooCommerce, for example, integrates its shop structure with the core Breadcrumbs block through block_core_breadcrumbs_items, so stores get sensible product trails automatically.
block_core_breadcrumbs_post_type_settings
When a post type has more than one taxonomy, or a post belongs to several terms, WordPress needs to decide which one to show. By default, the block uses the first publicly queryable taxonomy that has terms assigned. The block_core_breadcrumbs_post_type_settings filter lets you choose the taxonomy and term explicitly. It receives a settings array, the post type and the post ID:
add_filter( 'block_core_breadcrumbs_post_type_settings', function ( $settings, $post_type, $post_id ) {
// Return the taxonomy and term preferences for this post type.
// See the Breadcrumb block filters dev note for the supported keys.
return $settings;
}, 10, 3 );
This is especially useful for custom post types such as courses, recipes or properties, where you might want a “Location” taxonomy in the trail rather than a “Feature” taxonomy. Check the official dev note linked below for the exact keys supported in your WordPress version.
Breadcrumbs and SEO: Getting the Full Benefit
A visible trail is great for users, but search engines also rely on structured data to understand breadcrumbs. Google documents the BreadcrumbList schema type for exactly this purpose. The good news is that many WordPress sites already output it. Yoast SEO, for example, includes breadcrumb information in its structured data graph, so the hierarchy is described to search engines even before you add a visible trail.
Keep visible breadcrumbs and structured data aligned
The most important principle is consistency. The trail visitors see should reflect the same hierarchy described in your structured data. A few tips:
- Use one visible trail per page. If your SEO plugin or theme already prints breadcrumbs, choose either that output or the core block, not both.
- Choose a primary category for each post. SEO plugins such as Yoast let you set a primary category; keeping your taxonomy tidy makes every breadcrumb system produce clearer trails.
- Validate your pages with Google’s Rich Results Test after making changes.
- Keep labels short and descriptive. “Guides” is better than “All Of Our Helpful Guides And Tutorials”.
Breadcrumbs strengthen your internal linking
Every breadcrumb points to a category or parent page, which concentrates internal links on your most important hub pages. To make the most of that, give category archives helpful introductions and keep them well organised. Breadcrumbs work hand in hand with good content structure, a topic we also touch on in our guide to AEO in WordPress, where clear hierarchy helps answer engines understand your site.
Planning a Breadcrumb-Friendly Site Structure
Breadcrumbs reflect your site’s architecture, so a little planning produces much better trails:
- Group content into clear topics. A handful of well-named categories is easier to navigate than dozens of overlapping ones.
- Use parent categories thoughtfully. Nested categories such as WordPress › Performance create meaningful, multi-level trails.
- Use page hierarchy for evergreen sections. Service pages, documentation and resource hubs benefit from parent and child pages.
- Keep URLs and trails in harmony. When permalinks and breadcrumbs reflect the same structure, the site feels coherent to people and search engines alike.
- Review regularly. As your content grows, revisit categories so trails stay accurate.
Design and Accessibility Best Practices
- Place the trail consistently, typically above the page title, so users always know where to look.
- Make it visually secondary. A slightly smaller font size and subtle colour keep the focus on your main content.
- Keep links easy to tap. Leave enough spacing between items for mobile users.
- Check colour contrast so the trail remains readable for everyone.
- Test with a keyboard and screen reader. Our WCAG 2.2 checklist for WordPress explains what to look for.
If you want to fine-tune spacing and font sizes for different screen sizes without writing CSS, our guide to responsive styling in WordPress shows how.
Core Block, Theme Feature or SEO Plugin: Which Should You Use?
| Option | Great when | Things to consider |
|---|---|---|
| Core Breadcrumbs block | You use a block theme and want native, editor-friendly breadcrumbs | Requires WordPress 7.0+; pair with structured data from your SEO plugin |
| SEO plugin breadcrumbs | You already rely on your SEO plugin’s settings and schema | Visible output and structured data come from the same source |
| Theme breadcrumbs | Your theme offers built-in breadcrumbs that match its design | Behaviour depends on the theme; check it after switching themes |
All three are valid choices. The best one is the option that fits your theme and workflow and produces a single, accurate trail on every page.
Troubleshooting Common Breadcrumb Questions
The trail shows the wrong category
When a post is in several categories, the block has to choose one. Reduce overlapping categories where possible, or use the block_core_breadcrumbs_post_type_settings filter to define the preferred taxonomy and term.
I see two sets of breadcrumbs
Your theme or SEO plugin is probably also printing a trail. Disable one of them so visitors see a single, clean breadcrumb line.
Breadcrumbs do not appear on my homepage
That is usually intentional. Enable the “show on home page” setting if you want the trail there.
Changes are not visible on the live site
Clear your page cache and CDN cache after editing templates. If you use a caching plugin such as LiteSpeed Cache, purge all pages so every template picks up the new block.
Breadcrumb Ideas for Different Types of Websites
The right breadcrumb setup depends on how your site is organised. Here are proven patterns for common WordPress projects.
Blogs and magazines
A trail such as Home › Category › Post title works beautifully. Use a small set of broad parent categories with focused child categories beneath them, and add helpful introductions to each category archive so readers who click a breadcrumb land on a page that is worth exploring. Keep posts in one main category where possible so the trail stays predictable.
Online stores
Shoppers love being able to jump from a product back to a broader collection. A trail such as Home › Shop › Men › Running Shoes › Product encourages browsing and helps customers compare related items. WooCommerce works with the core Breadcrumbs block through the items filter, and the same filter lets you add a “Shop” link wherever your store structure needs it.
Documentation and knowledge bases
Documentation often has several levels of nested pages. Breadcrumbs are almost essential here because readers frequently arrive on a deep article from search. Use the page hierarchy, keep titles short, and consider showing breadcrumbs on every documentation template for a consistent reading experience.
Service businesses and agencies
Sites with service pages, location pages and case studies benefit from trails like Home › Services › Web Design › Location. They make it easy for prospects to move from a specific offer back to the full list of services, which often leads to more enquiries.
Custom post types
Recipes, courses, events and property listings usually have their own archive and taxonomies. Make sure each custom post type has a public archive with a clear label, because the Breadcrumbs block can include it in the trail. Then use the post type settings filter to choose the taxonomy that best describes each item.
How to Measure the Impact of Breadcrumbs
Breadcrumbs are an investment in usability, and it is satisfying to see the results. A few simple measurements help:
- Pages per session in your analytics tool, especially for visitors arriving from search.
- Visits to category and archive pages, which often increase once breadcrumbs link to them from every post.
- Click tracking on the trail using events in your analytics setup, so you can see which levels people use most.
- Search Console reports for structured data, to confirm your breadcrumb markup is valid.
Compare a few weeks before and after the change, and use what you learn to refine your categories and archive pages further.
Frequently Asked Questions
Which WordPress version includes the Breadcrumbs block?
The native Breadcrumbs block is part of WordPress 7.0 and later. Update core to start using it; no extra plugin is needed.
Do breadcrumbs directly improve rankings?
Breadcrumbs are best thought of as a usability and site-structure improvement. They help visitors explore, add helpful internal links and, with structured data, help search engines understand your hierarchy. Those benefits support SEO over time.
Can I use the block inside a single post?
You can, but templates are the better place. Adding the block to a template shows it consistently on every page of that type without editing each post.
Conclusion
The WordPress Breadcrumbs block brings a long-requested navigation feature into core in a clean, flexible way. It understands pages, posts, taxonomies, archives and custom post types, it inherits the editor’s design tools, and it gives developers two focused filters for fine control. Add it to your templates, keep your categories tidy, align it with your SEO plugin’s structured data, and you will give every visitor a clear path through your content while strengthening your site structure for search.
References and Further Reading
- Breadcrumb block filters – Make WordPress Core dev note
- Breadcrumb (BreadcrumbList) structured data – Google Search Central
- WordPress 7.0 is out: the highlights of this release – Yoast
- Site Editor documentation – WordPress.org
Images: Megan Lee and Maksim Shutov on Unsplash.

Leave a Reply