Title: Author.php loop problem
Last modified: August 21, 2016

---

# Author.php loop problem

 *  [augustkg](https://wordpress.org/support/users/augustkg/)
 * (@augustkg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/authorphp-loop-problem/)
 * Hey there!
 * I’ve recently made an author page, and copied the loop from the WordPress Codex.
   But the loop does not seem to post the right posts – instead of posting the current
   authors posts, it posts the admins posts :/
 * This is the loop:
 *     ```
       <ul>
       <!-- The Loop -->
   
           <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
               <li>
                   <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
                   <?php the_title(); ?></a>,
                   <?php the_time('d M Y'); ?> i <?php the_category('&');?>
               </li>
   
           <?php endwhile; else: ?>
               <p><?php _e('Der er ingen indlæg af denne forfatter endnu'); ?></p>
   
           <?php endif; ?>
   
       <!-- End Loop -->
   
           </ul>
       ```
   
 * What can I do?

The topic ‘Author.php loop problem’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [have_posts()](https://wordpress.org/support/topic-tag/have_posts/)
 * [wrong author](https://wordpress.org/support/topic-tag/wrong-author/)

 * 0 replies
 * 1 participant
 * Last reply from: [augustkg](https://wordpress.org/support/users/augustkg/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/authorphp-loop-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
