You could use this:
<a href="https://wordpress.stackexchange.com/questions/54419/<?php echo home_url() ."/author/' . get_the_author_meta( 'user_login', wp_get_current_user()->ID ); ?>" >My Posts</a>
Related Posts:
- Guest Author – How to display posts on /author/ archive page
- Exclude a category of posts in author template
- Add author section on Author archive posts
- Difference between an archive and a page listing posts
- Hook that get’s triggered when the author of a post is changed
- the_author() returns empty string
- has_archive=false on the default post type
- How to show list of posts by author and category?
- WordPress: How to get the current logged in author page URL?
- How to add editor’s name to entry meta byline?
- Create an “All Posts” or “Archives” Page with WordPress 3.0?
- Search posts by post author name
- Get the user type of an author
- Show the title of the latest post by author
- Find most recent authors
- Get current users post URL?
- Filter posts by author and category simultaneously
- Display most recent post in category instead of archive?
- Get all posts by post_author
- get_post_type_archive_link(‘post’) returns current category archive
- Authors in menu, template list post by author
- WP rest api returns 404 only when author param is used
- change default post archive page link
- Display all months with posts and inside each month show the 5 latest posts
- Show info to author only
- Auto “expire” all of an authors posts on spcific date
- Yearly archive page for future year
- How to get the user meta data for a post?
- Which URL to enter into browser to show all posts in archive.php?
- Whitelist Author of Private Post
- Show posts by a custom post author
- List category posts alphabetically on archive.php
- Getting the current author (it has changed) of a post, not the original author
- How to display excerpt post on hamepage and archive pages?
- Increase 10 post limit per page
- Display Notification Bar on Header on Certain Post Count
- Automatically create a new page daily with last three posts
- How do I retrieve a users’ last 5 posts?
- Archiving posts in wordpress
- obtain the author id given the post id
- Get all comments of author’s posts
- static landing page leading to author specific pages w/ “live” content
- Custom Post Type archive
- All Posts Linking to Author Posts directly
- Does WP automatically tag posts into the archive?
- How to get the ability to change the author of a post
- Echo Text If User Is Logged in But NOT the Author of post
- Only allow posts with a specific term to only be viewed by other authors with the same term in their post
- singular posts using archive styling
- How to limit author related post listing ?
- Get total post from an author
- I want to show my post for limited time, how is it possible?
- Send email to author of post on post submission
- How to edit the ‘
- Post-Archive like a page in a specific subdirectory
- Get latest author posts inside the loop
- Display message depending on capability outside loop
- How do I disable the “by author” hyperlink on posts?
- Authors’ Links on Homepage Not Going to Author Post Pages
- Send email to admin with post author
- Archieve page, Advertisement Every 3 Posts
- Highlighting Current Category in the Archive and Feeds page
- Permalink Short code showing unnecessary link text inside the loop
- Restricting displayed posts to posts from only select authors
- Change of author not updating
- Limit Post Creation Count by Author or Role
- Posts are not displaying on their category and tag page
- What permissions does a role need for the user to be assigned as the author of a post?
- show image gallery in archives or category page
- Prevent Archive URLs
- Get posts from category from custom query
- How do I apply a wordpress function to something with no ID inside an archive page?
- Custom author search
- Changing the Category for all posts of an Author
- List of authors posts minus very latest
- Disable archiving of old posts?
- is_archive() not working on selected “Posts page”
- show latest authors blog post
- Getting posts from multiple users?
- My posts section for logged in user
- How to organise post by category and date
- Daily posts like an archive
- Display the current post author and his url in the post header
- How to set a link to custom archieve page
- Create a Page Template Which Displays All Posts by Current User
- Set the limit to allow author when make post!
- Show last post of employee in his profile page
- How do I display the next 3 posts in the sidebar?
- How to get single post by one author?
- Notify Author of the post if admin deletes his post and perform some function
- Display all posts from selected month
- Show all posts in category
- custom sort posts in archive/taxanomy page
- how to show all type of author posts in author page (SOLVED)
- How to show total view count across all posts for an author
- how to show all post with its contents
- How can I add Author’s phone number to wp profile and make it appear in wp-admin/edit.php columns
- Display post count on archive page in reverse order
- Filter/Sort Post Form On Taxonomy page
- users followin the blog post author