why does my author page display only 9 posts?
-
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 –>
<?php
if(isset($_GET[‘author_name’])) :
$curauth = get_userdatabylogin($author_name);
else :
$curauth = get_userdata(intval($author));
endif;
?><h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
-
<!– The Loop –>
-
” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”>
<?php the_title(); ?>,
<?php the_time(‘d M Y’); ?> in <?php the_category(‘&’);?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?><?php endwhile; else: ?>
<p><?php _e(‘No posts by this author.’); ?></p><?php endif; ?>
<!– End Loop –></div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>any idea why? Thank you in advance!
-
” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘why does my author page display only 9 posts?’ is closed to new replies.