wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



the_archive_description › WordPress Function

Od4.1.0
Przestarzałyn/a
the_archive_description ( $before = '', $after = '' )
Parametry: (2)
  • (string) $before Optional. Content to prepend to the description. Default empty.
    Wymagane: Nie
    Domyślny: (puste)
  • (string) $after Optional. Content to append to the description. Default empty.
    Wymagane: Nie
    Domyślny: (puste)
Zobacz:
Zdefiniowane na:
Codex:

Displays category, tag, term, or author description.



Źródło

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