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



the_archive_description › WordPress Function

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:

Displays category, tag, term, or author description.



Fonte

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