Skip to content

Query Title block: Option to remove prefix from Archive Title block variation #30519

@andersnoren

Description

@andersnoren

What problem does this address?

By default, the archive title includes a prefix describing the type of archive page being shown, like "Category: Markup" and "Author: themedemos". One of the most common support requests I get is how to hide the prefix of the archive title (like this one, from yesterday), which currently has to be done with CSS (if the markup structure allows for it) or by creating a child theme that hooks into the get_the_archive_title_prefix filter.

What is your proposed solution?

It might be useful for the Archive Title block to include a checkbox for hiding the prefix.

Metadata

Metadata

Assignees

Labels

Needs DesignNeeds design efforts.[Block] Query TitleAffects the Query Title Block[Focus] Blocks AdoptionFor issues that directly impact the ability to adopt features of Gutenberg.[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions