Support » Developing with WordPress » Author page showing all the post except the newest one

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author page showing all the post except the newest one’ is closed to new replies.