Listing more than 5 posts after author's name
-
Hi
I am trying to list more than 5 posts after the author name in this page http://2c5.3db.myftpupload.com/author/roxana/
The code that I currently use is
<h2>Posts by <?php echo $curauth->nickname; ?>:</h2> <ul> <!– The Loop –> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"> <?php the_title(); ?></a>, <?php the_time('d M Y'); ?> in <?php the_category(' & ');?> </li> <?php endwhile; else: ?> <p><?php _e('No posts by this author.'); ?></p> <?php endif; ?> <!– End Loop –> </ul>
Could someone guide me in the right direction? Thank you 🙂
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Listing more than 5 posts after author's name’ is closed to new replies.