Display all authors post on author template
-
This should be really straight forward and has previously been working until my web-server died and I had to rely on backups.
I want to display a list of all posts from a particular author on their author page.
Below is the loop I am using.
<!-- 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(); ?> | <?php the_time('d M Y'); ?></a></li><?php endwhile; else: ?>
<p><?php _e('No posts by this author.'); ?></p><?php endif; ?>
<!-- End Loop -->However, this is only pulling out the latest post. I’m sure I’ve overlooked something simple.
Please help.
- The topic ‘Display all authors post on author template’ is closed to new replies.