%3$s', get_author_posts_url($authordata->ID, $authordata->user_nicename), sprintf( __('Articles by %s','tarski'), attribute_escape(get_the_author()) ), get_the_author() ); } } /** * the_archive_author() - Returns the author object associated with an author archive page. * * @global object $wp_query * @return object $current_author */ function the_archive_author() { global $wp_query; $current_author = $wp_query->get_queried_object(); return $current_author; } /** * the_archive_author_displayname() - Returns the display name of the author associated with a given archive page. * * @return string */ function the_archive_author_displayname() { $current_author = the_archive_author(); return $current_author->display_name; } /** * the_archive_author_description() - Returns the author description of the author associated with a given archive page. * * @return string */ function the_archive_author_description() { $current_author = the_archive_author(); return $current_author->user_description; } ?>