• 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.