[wp-trac] [WordPress Trac] #28232: Custom Taxonomy filter on post listing pages

WordPress Trac noreply at wordpress.org
Tue Jun 16 13:14:06 UTC 2015


#28232: Custom Taxonomy filter on post listing pages
-------------------------+-----------------------------
 Reporter:  jtsternberg  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Taxonomy     |     Version:  4.0
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 boonebgorges]:
 > `sprintf( __( 'Filter by %s' ), $taxonomy->labels->singular_name )` is
 not properly localizable, because of the way many languages will decline
 the taxonomy name. If we want the screen-reader-text to match that of the
 Category dropdown, then we'll need a new taxonomy label - something like
 'filter_by_item'. @SergeyBiryukov does this seem right to you?

 Yes, either that or a workaround like `__( 'Filter by taxonomy: %s' )`.

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


More information about the wp-trac mailing list