Skip to content

Taxonomy term featured image + Cover block binding #30

@justintadlock

Description

@justintadlock

For taxonomy term archives, the theme uses a Cover block to showcase a large hero section with a term-specific background image. Currently, the only way to do this is to create individual templates for every term (genre, category, etc.). This is not a good management strategy.

Here's a screenshot of the current handling in the admin for a particular music genre:

Image

Instead of manually creating individual templates, we need to create an upload form on the edit term screen in the admin to attach an image as the term featured image. Then, we need to extend the Cover block to support custom block bindings.

Related Gutenberg tickets:

This isn't native to WP at the moment, but we should be able to filter the output and handle this feature ourselves.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions