This a short compilation of the multiple comments above, so that future visitors don’t have to read each and every one of them.
First of all, the_author_posts_link() is a deprecated function since version 2.1, so get_author_posts_url() or the_author_posts_url() should be used instead http://codex.wordpress.org/Function_Reference/get_author_posts_url
The the/get_author_posts_url() takes an argument that requires “ID of the author whose URL should be retrieved.”, so the_author_posts_url( get_the_author_meta( 'ID' ) ) will work, and if you decide to use the get_author_post_url() instead of the_author_posts_url() don’t forget to echo it out.
Related Posts:
- Permalink to user profile
- Creating distinct pages for author profiles and lists of posts by author
- Get only the author profile picture image url inside a loop
- Author profile visitors in last 7 days in front end without plugins
- Remove /author/ from the author profile url
- How to link to the current User/Author Profile page?
- Multiple Unique Author Profiles
- Getting $curauth->ID to work inside a shortcode
- Link Author’s Website in Author Bio
- Custom avatar image link added to the profile page
- Get avatar of the logged-in user in WordPress
- How to get all possible arguments for a wordpress function
- Is author.php a core file?
- Clean links in: the_author_meta(‘description’)
- All Posts Linking to Author Posts directly
- author_link filter not work correctly
- How to make current user’s avatar + display name link to their profile?
- Display Authors avatars when more than one author
- redirect “about author” code to about page
- Can change twentytwelve_entry_meta “by-author” links?
- How to show author page link
- List of all authors avatars
- Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page
- Open the_author_link() in a new window
- Variable undefined but it is defined
- Show infos only to the author in the author.php
- Author.php display profile for all types of users
- Profile Field In Admin Bar
- How to load locally saved author photos based on author ID
- How to add avatar to authors list?
- How to check if a user (not current user) is logged in?
- How to remove the author pages?
- How to get a buddypress user profile link and a certain user profile field for the current post author?
- Select subscriber as author of post in admin panel?
- Echo author ID in author.php
- Woocommerce: assign an “author” to a product
- How can HTML be allowed in Author Bio?
- Programatically change post author
- How to display a public profile page for registered users with custom slug?
- Restrict one post per author
- How to get author’s name by author’s id
- Author page: Comments and Ratings?
- WordPress: How to get the current logged in author page URL?
- Give Author users the right to embed
- How to get post author name by its ID inside a function?
- How can I publish a post with two or more authors?
- If Else Gravatar Author Picture
- Get attachment ID of author_meta image – Attachment Metadata
- Displaying custom post types in author.php
- Add rewrite endpoint to author page + pagination
- Order the users by the date of their latest post
- What’s a good way to put authors into groups
- Upload gravatar in WP profile?
- Show Author in custom rss feed
- What is the difference between user_description and description?
- How can an author be subscribed to the posts of another author and receive notifications of the new posts?
- No authors in change author dropdown
- Show author archive pages for authors with no posts
- More posts from the current author
- List authors of site with link and gravatar
- How we can get the author ID by its Name
- How to hide posts count and posts of other users from edit.php for contributors and authors
- User Published Post Count
- Get current users post URL?
- Custom size for image uploaded to custom field in user profile?
- What capability allows someone to change a page’s/post’s author?
- How to get posts without author?
- Allow Content Author to Publish, But Not Edit or Delete
- Just wanted to Pull Author’s Link
- Making WordPress author follow button, need missing ingredient
- list author’s posts in author.php
- Completely hide user info
- Get the comment author ID by the comment ID
- How To Remove The Author(s) From Certain Posts
- Is it possible to set/override default the_author_posts_link to login name?
- add capability to author role to be able to delete attachments
- Google Authorship on a multi-author blog?
- Replace Gravatar with img URL for avatars
- Change author base slug to user role
- Need advice on how to add links in users profile page?
- Get the excerpt for a post created by the related author
- Custom Author Fields + Existing Taxonomy – Integrating the Two Dynamically?
- Display Author role in archive or author page
- Author must complete profile info before they can publish a post?
- How to Add Author Editing Capability to Existing Post by Admin
- WordPress Author Page
- get the username of a user in his author page
- Editing the loop for Author pages
- What is wrong with this code?
- Limit REST API output to current logged in user that is also author of the content
- Display only entire most recent post on author page?
- I only want to Display Author Link in authors bio
- How can I add “posted by ‘author'” to each post?
- Is it possible to get_terms by author?
- no emails for a user account
- Is there any function available to echo current user’s profile url?
- Author list ‘special’ author first then ‘normal’ author
- hide something in single page if current author has only one post
- Show selected value in a drop down menu
- Can I stop authors from changing the font in their post?