WordPress at a glance

the_archive_description() WP 1.0

Display category, tag, term, or author description.

  • See: get_the_archive_description()

No Hooks.

Return

Nothing (null).

Usage

the_archive_description( $before, $after );
$before(string)
Content to prepend to the description.
Default: ''
$after(string)
Content to append to the description.
Default: ''

Code of the_archive_description: wp-includes/general-template.php VER 4.9.8

<?php
function the_archive_description( $before = '', $after = '' ) {
	$description = get_the_archive_description();
	if ( $description ) {
		echo $before . $description . $after;
	}
}

Related Functions

From tag: Description (of post term)

More from category: Archives

More from Template Tags: Main Functions

No comments
    Hello, !     Log In . Register