My author.php loop isn’t working right
-
Morning! I was looking over one of my sites last night and I have set up the author.php stuff and thought it was working properly, but I noticed that the loop is only displaying the authors last post. All of my sites are fairly new and I guess I screwed it up on all of them. I used the code directly from the codex. Can someone please check it out for me and let me know what I can chance to list all the authors posts on their page.
Thanks
———————————————————–<!-- The Loop --> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> # " rel="bookmark" title="Permanent Link: <?php the_title(); ?>"> <?php the_title(); ?>, <?php the_time('d M Y'); ?> in <?php the_category('&');?> <?php endwhile; else: ?> <p><?php _e('No posts by this author.'); ?></p> <?php endif; ?> <!-- End Loop -->
————————————————–
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘My author.php loop isn’t working right’ is closed to new replies.