[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions
WordPress Trac
noreply at wordpress.org
Sun Mar 3 17:54:06 UTC 2013
#21995: (get/the)_archive_title and (get/the)_archive_description functions
------------------------------------+------------------
Reporter: thomask | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.6
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by DrewAPicture):
[attachment:21995.2.diff] adds a `$container` param defaulting to span.
Also improved the phpdocs and changed the printfs to sprintfs in light of
the $display bool.
Replying to [comment:13 mdgl]:
> 3) For custom taxonomies, rather than just printing "Taxonomy Archives"
we should probably refer to the name of the particular taxonomy as already
happens with `category` and `post_tag`.
I'm going to hold off on customizing the Taxonomy Archives text until we
have some feedback from folks like @pavelevap, @SergeyBiryukov or @dd32.
Of late there's been reticence to leverage the taxonomy labels because of
lack of control over the context.
I can see adding a new label for taxonomy archives but that also may be
off the table.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21995#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list