wpseek.com
A WordPress-centric search engine for devs and theme authors



the_author_link › WordPress Function

Since2.1.0
Deprecatedn/a
the_author_link ( $use_title_attr = true )
Parameters:
  • (bool) $use_title_attr Optional. Whether to add a title attribute. Default true.
    Required: No
    Default: true
Links:
Defined at:
Codex:
Change Log:
  • 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.


Source

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