- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Create custom archive page for individual authors which is separate from the aut
I have a custom author.php set which shows the most recent 10 posts (As it’s set in the admin panel under General > Reading). I want to have a link to “View all posts by this author”. This will link to a page showing all posts by that specific author. All the information I’ve found has been about the author.php page which I don’t want to change.
I guess I’m trying to make a custom archives page, but, from what I’ve read in the codex about hierarchies, the author.php file would be pulled before that anyway. Thanks!
What about creating author-archive.php
, writing a loop and then link to that?
Thanks for response. That’s a good idea. I guess I don’t know what to include in the loop to pull an archive for whichever author is selected from the author page. I can’t use <?php the_author_posts_link(); ?>
because that is just what is on the author’s page. If the user is looking at the author page for “jsmith”, and they click on the link to take them to the author-archive.php to view all posts, what would I include to show just the articles for that author? thanks