did you try:
function wpse_author_link( $link, $author_id, $author_nicename ){
return 'http://example.com/';
}
add_filter( 'author_link', 'wpse_author_link', 20, 3 );
Related Posts:
- Converting a dynamic piece of code using WordPress Loop into a static one using Post ID
- How to show list of posts by author and category?
- Find most recent authors
- Get the author of the latest revision
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Human Time Diff, change mins to minutes
- How to Display Post View Count
- How can I list random authors from current post category?
- Exclude category from
- Force the “Choose from the most used tags” meta box section to always be expanded
- The_excerpt() doesn’t parse – how to change that?
- How to only publish posts with image in it
- Add custom text automatically on each post
- Change post author without using wp_update_post()
- Optimize CPT-function with a loop
- The loop starting at a certain ID
- saving/reading custom field value does not work – no value gets POSTed
- Get post category as a separate string and url
- how to show comments only author which send own posts in wordpress
- How to hide meta from search result only on pages?
- Get post id outside loop : Notice: Trying to get property of non-object
- Show post excerpt
- Show author bio box
- Check if user has avatar
- List of authors posts minus very latest
- show latest authors blog post
- Run function after post is updated
- Where should get_post_meta() go to get $post->ID get_post_meta() is empty and $post->ID & get_the_id() are working
- Getting posts from multiple users?
- Getting rid of the blog page entirely
- Notify Author of the post if admin deletes his post and perform some function
- What function does the loop of displaying posts?
- How to check if post meta key exists or not in wordpress database
- Update all posts automatically when using post_meta
- List only child categories a post is in, of a specific parent category
- Setting post meta data to random value during post status transition / on publish
- Can’t show comments count per post outside loop
- Get current users post URL?
- How to change post status from publish to draft using hook in wordpress?
- Alternate custom content in the loop
- Allow role to delete posts but block him the wp-admin
- WP_Query in functions.php overrides global $post object, even with wp_reset_query()
- WP rest api returns 404 only when author param is used
- What Is meta_id In wp_postmeta?
- Prepend or add an Image to the content of a Post
- Guest Author – How to display posts on /author/ archive page
- WordPress Loop – Next 3 Posts
- How to do set post permalinks using 6 digit random unique function?
- Pulling in post category and children within category
- Getting the current author (it has changed) of a post, not the original author
- Getting value from get_post_custom
- How to exclude visited posts from loop
- add to end of post in the loop with plugin
- Get all comments of author’s posts
- How to save meta checkbox WordPress
- Custom taxonomy archive page problem
- Loop don’t work within single.php page
- All Posts Linking to Author Posts directly
- Getting blog pagination to work on page set as front page
- Make loop inside slider divisible [closed]
- Echo Text If User Is Logged in But NOT the Author of post
- Update post meta within save_post action
- Getting Whitescreen when publishing a post [closed]
- Custom permalink for each post
- Is there a way getting post fields using `transition_post_status`
- How to display post list in a table layout (multiple queries in single loop)
- Related Posts: Changing Function For Posts Per Page
- Get latest author posts inside the loop
- Display 3 posts with different HTML markup using a loop
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
- Authors’ Links on Homepage Not Going to Author Post Pages
- How to repeat a loop after 4 posts [duplicate]
- adding my posts (author posts) in menu
- How to separate each individual blog post?
- Is there a way to define the $post var outside the loop?
- Set Default Post as Parent Child (Nested) Relation
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Featured Images most often doesnt appear
- I want to change the WordPress comments file
- subtracting the current post form then whole loop, which is generating all CPT titles
- Excluding tag Link from html tags in Post content
- Can I Paginate Post after every 25 tag?
- Display new posts categories in separated divs
- Trim excerpt to first paragraph
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- WordPress loop uses unmodified posts array, why?
- Add row after three columns
- Modify WordPress loop after it has been run
- Skip posts, but keep posts per page
- Show posts between two Custom Fields date
- index.php is only displaying current month’s posts?
- Ordering posts alphabetically by meta keys and title
- Loop doesn’t display posts. It displays a link to the home page instead
- Grab next post title in archive page
- Show post if in category
- Displaying categories items among posts
- Show all posts in category
- how to show all type of author posts in author page (SOLVED)
- First post in loop displays twice
- If meta_key exists then don’t select this post?