X3P0: Breadcrumbs

Description

X3P0 Breadcrumbs is one of the most advanced and robust breadcrumb navigation systems ever built for WordPress. It was born from a small script first released in 2009 and has grown into a system that can handle nearly any site’s setup to show the most accurate breadcrumbs for each page.

Blocks and Classic Support

The plugin works with both block and classic themes, so you can use it on any WordPress site.

For block themes, you can insert it into any template or template part via the WordPress Site Editor. Ideally, this would be something like the Header part, which is generally shown on every page of the site.

For classic themes, you must manually add the PHP code to your theme to call the breadcrumb trail like so:

<?php if ( class_exists( '\X3P0\Breadcrumbs\Trail' ) ) {
    \X3P0\Breadcrumbs\Trail::display();
} ?>

How It Works

This plugin automatically detects your permalink setup and displays breadcrumbs based on that structure. Nearly all sites have some sort of hierarchy. The plugin recognizes that and builds a set of unique breadcrumbs for each page on your site.

This means that it can also detect custom post types and taxonomies right out of the box. Whatever you throw at it, it’s got a solution.

Screenshots

  • Breadcrumbs block in the Site Editor.
  • Home icon picker.
  • Separator icon picker.

Blocks

This plugin provides 1 block.

  • X3P0: Breadcrumbs Add a breadcrumb trail back to the site homepage. Breadcrumb items appear as placeholders in the editor and will populate with the correct data on the site front end.

FAQ

Can you add X, Y, or Z feature?

Feel free to open a ticket on the plugin’s GitHub repository. We’ll chat about it. The PHP for the block is much more robust than what’s currently controllable via the block editor, so it’s likely the feature already exists—it just needs the editor UI component built out.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“X3P0: Breadcrumbs” is open source software. The following people have contributed to this plugin.

Contributors

Translate “X3P0: Breadcrumbs” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Please see the changelog.md file included with the plugin file. Or, you can view the online change log.