Skip to content

Creating a universal "Terms" or "Taxonomy Terms" block to replace the "Categories" block #33302

@ndiego

Description

@ndiego

What problem does this address?

In Gutenberg we have the Categories block. It is simple and effective at what it does. But what if a user wanted to display Tags or the terms of another taxonomy in a similar way? At present, they would need to build a custom block.

We also have the Post Terms block that supports variations. Out of the box, the block include variations for both Categories and Tags. But as a developer, you can very easily register a variation for a custom taxonomy. I believe this approach is also needed for the Categories block.

What is your proposed solution?

I am purposing that a new universal block be built. Something like "Terms" or "Taxonomy Terms" that resembles the current Category block pretty much exactly, but support variations. Out of the box it would include a variation for categories, and then developers could register their own variations as needed.

I am basically trying to gauge interest in this approach. I am happy to take a stab at building the block. But I don't want to pursue this if the greater community does not feel this is warranted 😉

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions