[wp-trac] [WordPress Trac] #46614: Category/tag/taxonomy names on admin screens

WordPress Trac noreply at wordpress.org
Sat Mar 6 17:49:57 UTC 2021


#46614: Category/tag/taxonomy names on admin screens
-------------------------------------+------------------------------
 Reporter:  Dianakc                  |       Owner:  (none)
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by mikejdent):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 Hi @Dianakc and @sabernhardt!

 I think we should be able to do this by appending {{{
 get_the_archive_title(); }}} to the end of the heading. That way we can
 still see the Post Type, but also what taxonomy we are browsing. If there
 is no taxonomy (ie the top-level page) then it returns the word "Archives"
 which can then be filtered out.

 Could probably do with some e2e to check I haven't missed any edge cases.

 [[Image(https://i.postimg.cc/tCpY0gdd/posts.jpg)]]
 [[Image(https://i.postimg.cc/Wz6zFRVJ/author.jpg)]]
 [[Image(https://i.postimg.cc/nVvCwmmc/category.jpg)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46614#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list