1
我想在author.php模板中列出作者的最後10篇文章。 我用這個代碼:WordPress的:在author.php列出作者的帖子
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php endwhile;?>
但我只能看到當前作者的最後一個職位。任何幫助?
多後:http://wordpress.stackexchange.com/questions/71127/list-authors-posts-in-author-php – fuxia