Displays category, tag, term, or author description.
Description
See also
Parameters
$before
stringoptional- Content to prepend to the description.
Default:
''
$after
stringoptional- Content to append to the description.
Default:
''
Source
function the_archive_description( $before = '', $after = '' ) {
$description = get_the_archive_description();
if ( $description ) {
echo $before . $description . $after;
}
}
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
Display archive description.
See Also
the_archive_title() – Display the archive title based on the queried object