wpseek.com
A WordPress-centric search engine for devs and theme authors



the_archive_description › WordPress Function

Since4.1.0
Deprecatedn/a
the_archive_description ( $before = '', $after = '' )
Parameters: (2)
  • (string) $before Optional. Content to prepend to the description. Default empty.
    Required: No
    Default: (empty)
  • (string) $after Optional. Content to append to the description. Default empty.
    Required: No
    Default: (empty)
See:
Defined at:
Codex:

Displays category, tag, term, or author description.



Source

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