the_archive_description( string $before = '', string $after = '' )
Display category, tag, term, or author description.
Description Description
See also See also
Parameters Parameters
- $before
-
(string) (Optional) Content to prepend to the description.
Default value: ''
- $after
-
(string) (Optional) Content to append to the description.
Default value: ''
Source Source
File: wp-includes/general-template.php
function the_archive_description( $before = '', $after = '' ) { $description = get_the_archive_description(); if ( $description ) { echo $before . $description . $after; } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Display archive description.
See Also
the_archive_title() – Display the archive title based on the queried object