[resolved] why does my author page display only 9 posts? (5 posts)

  1. ghmercado
    Posted 8 years 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(); ?>
    <div id="content">
    <div id="leftcol">
    <!-- This sets the $curauth variable -->
    if(isset($_GET['author_name'])) :
    $curauth = get_userdatabylogin($author_name);
    else :
    $curauth = get_userdata(intval($author));

    <h2>Posts by <?php echo $curauth->nickname; ?>:</h2>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    any idea why? Thank you in advance!

  2. Kafkaesqui

    Posted 8 years ago #

    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:


  3. ghmercado
    Posted 8 years ago #

    kafkaesque, i congratulate you on your patience for answering dumb*ss questions like mine. Thanks much.

  4. Kafkaesqui

    Posted 8 years ago #

    The only dumb*ss question is the one that isn't asked. You're welcome.

  5. Annys
    Posted 8 years 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... ;-)


Topic Closed

This topic has been closed to new replies.

About this Topic