Skip to content

Add crumb type to entries #22

Open
@ouun

Description

@ouun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions