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



the_author_link › WordPress Function

Desde2.1.0
Obsoleton/a
› the_author_link ( $use_title_attr = true )
Parâmetros:
  • (bool) $use_title_attr Optional. Whether to add a title attribute. Default true.
    Required: No
    Padrão: true
Links:
Definido em:
Codex:
Log de mudanças:
  • 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.


Fonte

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