the_author_link() WordPress Function

The the_author_link() function displays a link to the author archive page for the current author.

the_author_link() #

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


Description

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


Top ↑

Source

File: wp-includes/author-template.php

function the_author_link() {
	echo get_the_author_link();
}


Top ↑

Changelog

Changelog
VersionDescription
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.