wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



the_author_link › WordPress Function

Da2.1.0
Deprecaton/a
› the_author_link ( $use_title_attr = true )
Parametri:
  • (bool) $use_title_attr Optional. Whether to add a title attribute. Default true.
    Richiesto: No
    Default: true
Links:
Definito a:
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.


Sorgenti

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