1

Is there a way to link to the authors profile page?

At the moment i can access the authors profile by visiting the url like this:

http://mysite.com/?author=1

Is there a function that i could use to show this link regardless if the permalinks are changed?

Thanks in advanced.

1

if i am guessing it right you need to use <?php the_author_posts_link(); ?> function to link to the author page

Note: Remember the function will only be useful if you want to link to the author of a post not a particular user

Source: http://codex.wordpress.org/Template_Tags/the_author_posts_link

  • if this works for you please mark it as correct answer by clicking the tick button left of my answer. – phantom.omaga Dec 2 '11 at 13:26
0

This article on the Wordpress Codex explains about author profiles. I think you may want the_author_link() which you could set up to link whatever you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.