Uma área de pesquisa sobre o WordPress para devs e autores do tema



the_archive_description ›

Desde4.1.0
Obsoleton/a
the_archive_description ( $before = '', $after = '' )
Parâmetros: (2)
  • (string) $before Optional. Content to prepend to the description. Default empty.
    Required: No
    Padrão: (empty)
  • (string) $after Optional. Content to append to the description. Default empty.
    Required: No
    Padrão: (empty)
Ver:
Definido em:
Codex:

Display category, tag, term, or author description.



Fonte

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