WP Manifestindependent plugin directory
manifest / seo / cgit-wp-breadcrumb

Castlegate IT WP Breadcrumb WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Simple breadcrumb navigation for WordPress

★ 0stars
v3.3.3latest · 10mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/castlegateit/cgit-wp-breadcrumb/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Castlegate IT WP Breadcrumb adds a simple breadcrumb navigation to WordPress. The Castlegate\Breadcrumb\Breadcrumb class can generate breadcrumb items as an array of data, an array of HTML links, or a complete breadcrumb navigation:

use Castlegate\Breadcrumb\Breadcrumb;

$crumb = new Breadcrumb();
$foo = $crumb->getItems(); // return array of items
$foo = $crumb->getLinks(); // return array of HTML links
$foo = $crumb->render($sep); // return HTML links separated by $sep
$foo = $crumb->renderList($tag); // return HTML list

Default text for front page and posts page

You can specify the text used for the home page and the posts index in the constructor:

$crumb = new Breadcrumb([
    'home' => 'Home',
    'index' => 'News',
]);

You can also use the cgit_breadcrumb_names filter to edit the array of front and posts page names.

Custom HTML

You can customize the HTML used for links, non-links, and the current breadcrumb item using a filter, with sprintf strings as templates:

add_filter('cgit_breadcrumb_templates', function ($templates) {
    'url' => '<a href="%2$s" class="cgit-breadcrumb-item link">%1$s</a>',
    'current' => '<span class="cgit-breadcrumb-item current">%s</span>',
    'span' => '<span class="cgit-breadcrumb-item span">%s</span>',
});

Functions

For backwards compatibility, the plugin also provides a function for rendering a breadcrumb navigation, equivalent to the render method:

$foo = cgit_breadcrumb($sep, $home, $index);

License

Released under the MIT License. See LICENSE for details.

Releases

2 releases.

Tag
Published
v3.3.3 latest
Dec 19, 2025 10mo ago
Sep 8, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Castlegate IT WP Breadcrumb 3.3.3 · audited by WP Registry

No security issues found.

Audited release
3.3.3
Findings
none
Worst severity
—
Content hash
45daea804b69f6177056f066…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.