wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



the_author_link › WordPress Function

Seit2.1.0
Veraltetn/v
the_author_link ( $use_title_attr = true )
Parameter:
  • (bool) $use_title_attr Optional. Whether to add a title attribute. Default true.
    Erforderlich: Nein
    Standard: true
Links:
Definiert in:
Codex:
Changelog:
  • 7.0.0

Displays either author's link or author's name.

If the author has a home page set, echo an HTML link, otherwise just echo the author's name.


Quellcode

function the_author_link( $use_title_attr = true ) {
	echo get_the_author_link( $use_title_attr );
}