The following codes worked. I added to my child theme’s functions.php
add_filter( 'author_link', 'change_author_link', 10, 1 );
function change_author_link($link) {
$username=get_the_author_meta('user_nicename');
$link = 'http://example.com/members/' . $username;
return $link;
}
Related Posts:
- How to use Buddypress xProfile field as WordPress Bio
- Display Recent Posts in BuddyPress Profile
- 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?
- How to get author’s name by author’s id
- How can I publish a post with two or more authors?
- Displaying custom post types in author.php
- Order the users by the date of their latest post
- Permalink to user profile
- Show Author in custom rss feed
- No authors in change author dropdown
- More posts from the current author
- List authors of site with link and gravatar
- User Published Post Count
- What capability allows someone to change a page’s/post’s author?
- Just wanted to Pull Author’s Link
- list author’s posts in author.php
- add capability to author role to be able to delete attachments
- Get the excerpt for a post created by the related author
- Editing the loop for Author pages
- How can I add “posted by ‘author'” to each post?
- no emails for a user account
- Show selected value in a drop down menu
- Can I stop authors from changing the font in their post?
- Author page doesn’t change after username change [duplicate]
- Output author and description if description is not empty
- Author bio Social Links
- How to link avatar and nickname to profile
- Author custom fields post meta, the code?
- Filter Author Bio
- If post author ID is..show that
- Multiple Unique Author Profiles
- Getting $curauth->ID to work inside a shortcode
- How to add child page to author.php
- Remove admin role from the “Author” user listing on individual post screen
- Restrict user role Author from viewing comments in admin interface
- Author List page: Exclude based on last post date not working correctly
- Author list based on recently active
- Authors & profiles (and exclude ID’s)
- Most recent post is missing from Author page
- I have two problems ( SEO )
- Difference between last_name and user_lastname
- Author name is not working on category page
- How do I create WordPress Authors Dropdown with links
- Migrate different author’s content to current author
- Display A list of Admins
- Remove author bio from posts of a specific author
- Get all media files for current author
- Author’s Id from wp list authors function
- get_the_author_meta not working
- How to let authors only see website stats for their posts?
- how to get page views of author page?
- author_link filter not work correctly
- Auto assign author to new posts with wp_insert_post_data
- Author Box Meta Issues
- Conditional/Check: IF author has no First Name THEN
- Display Authors Selectively
- Display a list of all post from the Author in the author’s page (author.php) in alphebetical order
- How to show user role in author.php
- How to conditionally output to sidebar of each author’s archive and posts by each author?
- ACF Relationship – Exclude pages not created by author
- Can change twentytwelve_entry_meta “by-author” links?
- set post author depending on condition via frontend post submit
- Author Page List – change to show authors instead of not subscribers
- How can I get all author written content?
- Can’t change author to myself after post published
- Author page points to 404 error page
- If statement for is_author of a post
- WordPress Authors not showing with User Submitted Posts plugin
- Authors to be able to customize their author pages?
- How to target a post by a sepecific author?
- WordPress Posts Multi Author without using plugin
- Get top authors for the last 30 days with posts count and avatar
- Automatically Switch between two AdSense accounts based on the author post
- When clicking on author, it shows my email address in url
- Show all authors in drop down panel while choosing author for a post
- How do I edit disclaimer/contact information?
- How to add author on WordPress Pages? Not blog article page
- Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page
- Can’t use Persian/Farsi in Author slug (returns 404)
- Author.php Page views counter
- Co Authoring with different positions
- How to remove author from Social sharing links?
- How to add authors contact info to author metabox in post editor?
- Variable undefined but it is defined
- WordPress Author Information show paragraph?
- the_author_meta not resetting
- Php markup question: php/html within conditional bit
- Show infos only to the author in the author.php
- Return one of user’s post from a category in user’s profile
- Multiple Authors on a Single Blog
- Want to add a custom author link to a single.php
- Editorial Process
- Multiple Authors per post and filter post by author
- Uncode theme, create author page and author link under the blog
- Replace author with custom field in feed
- author.php get current id of author for advance custom field
- How to load locally saved author photos based on author ID
- the_author function is displaying wrong name and url
- How to add avatar to authors list?