Link to author’s posts without displaying their name
-
In my category, search, etc… templates I’m displaying an image for each of the authors:
<img src="<?php bloginfo('template_url'); ?>/images/authors/<?php the_author_ID(); ?>.gif" alt="<?php the_author(); ?>" />
I’d like to wrap that in an href that links to each author’s page (www.mydomain.com/author/name). The only function I could find that returns that link is the_author_posts_link. Unfortunately, it automatically wraps that link around their name and there’s no parameter (that I can see) to only display their link without the name.
Is there any way to just echo the link to their author page?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Link to author’s posts without displaying their name’ is closed to new replies.