WordPress.org

Make WordPress Core

Opened 19 months ago

Last modified 4 months ago

#46614 assigned enhancement

Category/tag/taxonomy names on admin screens

Reported by: Dianakc Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: needs-patch
Focuses: Cc:

Description

Hello, I'd like to suggest that when browsing categories, tags any taxonomies in general the admin screen display the taxonomy title/name somewhere preferably at the very top as I see that newbie users feel confused when browsing posts from a specific category/tag/taxonomy.

Examples:

https://i.postimg.cc/xjHx4Nvt/01.png
When browsing the "Succulents" tag

https://i.postimg.cc/pXHGbVkx/02.png
When browsing the "Plants from Mexico" category

I also searched for some way to add this myself for some clients and can't find how to do so.

Thanks (sorry if this is out of scope/wrong place)

Change History (3)

#1 follow-up: @sabernhardt
5 months ago

  • Keywords needs-patch added
  • Version 5.1 deleted

@Dianakc Hi and thanks for the ticket!

The heading text is rather strict in wp-admin/edit.php:

<h1 class="wp-heading-inline">
<?php
echo esc_html( $post_type_object->labels->name );
?>
</h1>

So in U.S. English it's always "Posts" for standard posts, "Pages" for the pages, and the main (plural) label for any custom post type.

It could be good to create a filter for customizing the heading text.

#2 in reply to: ↑ 1 @Dianakc
4 months ago

Hello,
Sorry but you're confusing taxonomies with custom post types, the ticket is about the page titles, taxonomy pages should display the taxonomy they are showing, that's all.

#3 @sabernhardt
4 months ago

@Dianakc Sorry for the confusion. Mentioning the pages and custom post type names is not necessarily relevant.

But my point was that the headings for post listing screens always match the post type, even when the posts in that list are restricted to one category, tag or other taxonomy. Adding the selected taxonomy name there should require a patch to wp-admin/edit.php.

Note: See TracTickets for help on using tickets.