list author's posts in author.php (1 post)

  1. liberto_io
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic