Link to author.php and link to list of author posts to different archive
-
Was wondering if this is at all possible… the website’s blog single.php has sidebar displaying author meta information with a list of the latest (3) posts.
At the end of the information I have
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author_meta( 'display_name' ); ?></a>
This goes to the author archive page by using author.php template.
This template is displaying more information about the author, which is pulling data from the user’s profile. This is intentionally the information I need for the author.php template.But is there a way to have the link underneath the list of author posts in the post sidebar, to go to another archive page template, that is a full list of that particular author’s posts?
- The topic ‘Link to author.php and link to list of author posts to different archive’ is closed to new replies.