PHPackages                             morningtrain/wp-breadcrumbs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. morningtrain/wp-breadcrumbs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

morningtrain/wp-breadcrumbs
===========================

Autogenerated breadcrumbs for WordPress

v0.2.0(1y ago)11.5kMITPHP

Since Jan 18Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Morning-Train/wp-breadcrumbs)[ Packagist](https://packagist.org/packages/morningtrain/wp-breadcrumbs)[ RSS](/packages/morningtrain-wp-breadcrumbs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Morningtrain\\WP\\Breadcrumbs
=============================

[](#morningtrainwpbreadcrumbs)

Autogenerated breadcrumbs for WordPress.

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Getting Started](#getting-started)
    - [Installation](#installation)
- [Usage](#usage)
- [Credits](#credits)
- [License](#license)

Introduction
------------

[](#introduction)

This package is made to make it simple to add breadcrumbs to WordPress.

Getting started
---------------

[](#getting-started)

To get started install the package as described below in [Installation](#installation).

To use the package have a look at [Usage](#usage)

### Installation

[](#installation)

Install with composer.

`composer require morningtrain/wp-breadcrumbs`

Usage
-----

[](#usage)

To get started with the module simply compose and render the breadcrumbs.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->render();
```

### Change Seperator

[](#change-seperator)

You can change the seperator by calling `seperator` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->separator(' >> ')->render();
```

### Hide on Front Page

[](#hide-on-front-page)

You can easily hide the breadcrumbs on the frontpage by calling `hideOnFrontPage` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->hideOnFrontPage()->render();
```

### Remove Prefixed Front Page

[](#remove-prefixed-front-page)

You can remove the prefixed front page breadcrumb on all pages by calling `hidePrefixedFrontPagePart` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->hidePrefixedFrontPagePart()->render();
```

### Exclude terms

[](#exclude-terms)

You can easily hide the terms from the breadcrumbs by using `excludeTaxonomies` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->excludeTaxonomies(['category'])->render();
```

### Exclude post type archive

[](#exclude-post-type-archive)

You can easily hide the post type archive from the breadcrumbs by using `excludePostTypeArchives` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->excludePostTypeArchives(['post'])->render();
```

### Alternative to Render

[](#alternative-to-render)

If you will create your own markup, you can get all breadcrumb parts by calling `getBreadcrumbs` on the BreadcrumbGenerator.

```
\Morningtrain\WP\Breadcrumbs\Breadcrumbs::compose()->getBreadcrumbs();
```

Credits
-------

[](#credits)

- [Martin Schadegg Brønniche](https://github.com/mschadegg)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance46

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~384 days

Total

3

Last Release

439d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad9cf415446c141fb28b67b9ef3388b7bd5784e1dbfadb1002380ffaa9b14301?d=identicon)[morningtrain](/maintainers/morningtrain)

---

Top Contributors

[![mschadegg](https://avatars.githubusercontent.com/u/11231039?v=4)](https://github.com/mschadegg "mschadegg (15 commits)")[![mikkelselko](https://avatars.githubusercontent.com/u/34674637?v=4)](https://github.com/mikkelselko "mikkelselko (2 commits)")

---

Tags

breadcrumbsphpwordpresswp

### Embed Badge

![Health badge](/badges/morningtrain-wp-breadcrumbs/health.svg)

```
[![Health](https://phpackages.com/badges/morningtrain-wp-breadcrumbs/health.svg)](https://phpackages.com/packages/morningtrain-wp-breadcrumbs)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
