How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID?
an alternative to the_author_link(), but for outside the loop.
I believe the function you want is get_author_posts_url.
<a href=<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>">Author Name</a>
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
2 years ago