Support » Fixing WordPress » list author's posts in author.php

  • I want to list 10 last posts of author in author.php template.
    I used this code:

    <?php while (have_posts()) : the_post(); ?>
    	<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
    <?php endwhile;?>

    But I can see only the last post of current author. Any help?

  • The topic ‘list author's posts in author.php’ is closed to new replies.