Call the post per author
-
Hi, I use this code in author.php to call up the post the author has made:
[code]
<!-- The Loop -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<tr onmouseover="this.style.backgroundColor='#a2c1db';" onmouseout="this.style.backgroundColor='transparent';">
<td valign="top" align="left">
" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
<?php the_title(); ?></td>
<td valign="top" align="left"><?php the_time('j-n-Y'); ?></td>
<td valign="top" align="left"><?php the_category(' &');?></td>
</tr><?php endwhile; else: ?>
<tr><td valign="middle" align="center" colspan="3"><b><?php _e('Geen, niks, nada, niente, noppes.'); ?></b></td></tr><?php endif; ?>
<!-- End Loop -->
[/code]As you can see it uses the loop, so It only calls the last , in my case, 10 posts from the author. I want to call all the posts made by the author. How can I do that?
- The topic ‘Call the post per author’ is closed to new replies.