Skip to content

Breadcrumbs block: terms should probably not be displayed for singular posts #75389

@benoitchantre

Description

@benoitchantre

Description

If a post has a related hierarchical taxonomy, the breadcrumb trail will contain the following items:

  1. Home
  2. Post type
  3. Term (if applicable)
  4. Post title

If more than one term or taxonomy is assigned to the post, it is not possible to select what should be displayed.

There is also no straightforward way to remove the term from the breadcrumb trail within a single post template.

I think that the terms should not be displayed in the context of a single post template.

Step-by-step reproduction instructions

  1. Add the breadcrumb block to a post
  2. Assign one or two categories
  3. The breadcrumb trail contains one of the assigned categories

Screenshots, screen recording, code snippet

No response

Environment info

WordPress Playground

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions