Dhali Breadcrumbs
Example block scaffolded with Create Block tool.
by The WordPress Contributors · github.com/dhali-web/dhali-breadcrumbs
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dhali-web/dhali-breadcrumbs/archive/refs/heads/master.zipDeclares an update source (https://github.com/dhali-web/Dhali-Breadcrumbs), so updates arrive through the plugin's own updater.
From the readme
Dhali Breadcrumbs
A breadcrumb trail block for FSE templates: Home → (post type archive, if
a custom post type) → (primary taxonomy term, if one exists) → (page
ancestors) → current page title.
Managed centrally by Dhali Extension Manager,
which installs and activates this plugin on a site from this repo
directly. It's also a fully standalone, valid WordPress plugin — you can
install it manually the normal way if you ever need to.
What it does
Adds a "Dhali Breadcrumbs" block (create-block/dhali-breadcrumbs), meant
for a single/page template's header area. On the front end it builds a
trail in this order:
1. Home — always first, links to the site root.
2. Post type archive — only if the current post is a custom post
type (not a core Page or Post) and that post type has archives
enabled.
3. Primary taxonomy term — see the configuration note below.
4. Page ancestors — for hierarchical pages/sub-pages, each parent in
the chain.
5. Current page title — plain text, not a link.
Two attributes control the separator: crumbsSeparator (default )
and separatorSpacing (default 6, in pixels).
⚠️ Requires per-site configuration — hardcoded taxonomy slug
src/dhali-breadcrumbs/ren