Support » Fixing WordPress » why does my author page display only 9 posts?
9 years, 3 months ago
hi my author page is only showing the author’s latest 9 posts. I want it to show all the author’s posts.
here is author.php:
<?php get_header(); ?>
<!– This sets the $curauth variable –>
$curauth = get_userdatabylogin($author_name);
$curauth = get_userdata(intval($author));
<h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
<?php endwhile; else: ?>
<p><?php _e(‘No posts by this author.’); ?></p>
<?php endif; ?>
<!– End Loop –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
any idea why? Thank you in advance!
How many posts per page are you set to display under Options > Reading, Blog Pages? Looking at your blog, it appears to be… nine.
If you need to display all posts on only author pages, check out this plugin:
kafkaesque, i congratulate you on your patience for answering dumb*ss questions like mine. Thanks much.
The only dumb*ss question is the one that isn’t asked. You’re welcome.
9 years, 1 month ago
I’m having the same problem. I don’t want to change the options and I’m using wp 2.2.3 so I can’t use the plugin. Is there a solution so you can see all the posts by an author in this file?
PS: I’m not a php expert… 😉