-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add crumb type to entries #22
Comments
ouun
referenced
this issue
Oct 27, 2023
In my opinion, The right solution is to add apply_filters for items. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Log1x,
I hope you are doing great.
Just recognized that for posts Crumb adds all selected categories to the array. Having a couple of categories makes it quite chaotic.
I am using The SEO Framework which adds a "Primary Category" feature that I would like to use. For that I would like to hook into the array and just remove all category crumbs except the primary one.
However currently it is not possible to differate between the crumb types (page, front-page, taxomomy, ...) and therefor I am thinking about a PR to add the "type" to each crumb array. That would allow us to better adjust the crumbs before passed to the view.
Wondering what you think about it.
Thanks and kind regards,
Philipp
The text was updated successfully, but these errors were encountered: