A WordPress-centric search engine for devs and theme authors



the_archive_description ›

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:

Display category, tag, term, or author description.



Source

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