Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

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

share|improve this answer
    
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
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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