You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: