by Justin Tadlock on WordPress.org
Add breadcrumb navigation to any site. Works with block and classic themes. Auto-detects site structure and custom post types. Improves SEO.

Breadcrumbs block in the Site Editor.
X3P0: Breadcrumbs is the most robust breadcrumb navigation system for WordPress. Built on 15+ years of development, it automatically detects your permalink structure and displays accurate breadcrumbs for every page on your site.
Perfect for improving site navigation and SEO, this breadcrumbs plugin works seamlessly with both block themes and classic themes. Simply insert the Breadcrumbs block via the WordPress Site Editor or add it to your theme templates.
Automatic Site Structure Detection
The plugin automatically detects your permalink setup and builds breadcrumbs based on your site’s hierarchy. No configuration needed–it just works out of the box. But you can also customize if you need to change it.
Custom Post Type Support
Automatically recognizes custom post types and custom taxonomies created by other plugins or your theme. Whether you’re running an ecommerce solution, a portfolio site, or any custom setup, breadcrumbs will display correctly.
Block Theme and Classic Theme Compatible
Insert breadcrumbs using the WordPress block editor in any template, template part, or pattern. For classic themes, easily add breadcrumbs using a simple PHP function call.
Developer Customization
Built on a robust object-oriented PHP foundation with extensive hooks and filters. Developers can customize every aspect of breadcrumb generation and display.
Schema.org Structured Data Support
Choose from plain HTML, Schema.org microdata, or RDFa formats for optimal SEO and search engine visibility.
Flexible Display Options
Control which breadcrumb items display, customize separators, hide breadcrumbs on specific pages, and style breadcrumbs to match your theme.
For Block Themes:
The breadcrumbs will automatically display site-wide based on your permalink structure.
For Classic Themes:
Add this code to your header.php or any template file where you want breadcrumbs to appear:
= do_blocks('') ?>
Breadcrumbs improve your site’s search engine optimization by:
Search engines like Google display breadcrumbs in search results when properly formatted, giving your site more visibility and higher click-through rates.
The breadcrumbs plugin automatically handles:
Block Settings:
Developer Options:
This breadcrumbs plugin analyzes the current WordPress query and generates breadcrumbs based on:
The plugin automatically detects these settings and builds the most accurate breadcrumb trail for each page, so you don’t need to configure complex rules.
For developers who want to customize breadcrumbs programmatically, the plugin provides extensive PHP classes and hooks. See the GitHub repository for full developer documentation.
Unlike simpler breadcrumb plugins, X3P0: Breadcrumbs handles complex site structures automatically:
The plugin has been refined since 2009, making it one of the most mature and reliable breadcrumb solutions for WordPress.