[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions
WordPress Trac
noreply at wordpress.org
Tue Nov 4 00:35:02 UTC 2014
#21995: (get/the)_archive_title and (get/the)_archive_description functions
---------------------------------------------+--------------------------
Reporter: thomask | Owner: johnbillion
Type: feature request | Status: closed
Priority: normal | Milestone: 4.1
Component: Themes | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch twenty-fifteen commit | Focuses: template
---------------------------------------------+--------------------------
Changes (by johnbillion):
* owner: => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"30223"]:
{{{
#!CommitTicketReference repository="" revision="30223"
Introduce some new template functions for archive titles and descriptions:
* `get_the_archive_title()` and `the_archive_title()` for
returning/displaying the title of the current term, date, post type, post
format, or author archive.
* `get_the_archive_description()` and `the_archive_description()` for
returning/displaying the description associated with the current term
archive.
Fixes #21995
Props obenland, DrewAPicture
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21995#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list