WordPress.org

Ready to get started?Download WordPress

Forums

Author page showing all the post except the newest one (3 posts)

  1. xuoroux
    Member
    Posted 7 years ago #

    Hi!

    I'm trying to customize my author's page, adding a header and a title, and for that purpose i had to create another loop, pretty basic, that was the only way i could make it look the way i want, the problem is that after that the author's page shows his post except the newest one, right now i have published 6 posts and it the author's page there are only 5.

    my super hack is:

    <?php if ( have_posts() ) : the_post(); ?>
    <?php if (is_author()) { ?>
    Do Stuff
    <?php } endif; ?>

    and lines below is the normal

    <?php while (have_posts()) : the_post(); ?>

    any idea how i can solve this?? any idea whats keeping the newest one out of that page?

  2. xuoroux
    Member
    Posted 7 years ago #

    nevermind, i solved it.

  3. MichaelH
    Member
    Posted 7 years ago #

    How did you solve it?

Topic Closed

This topic has been closed to new replies.

About this Topic