• hey!
    I want to have this in my new site:
    1) loop of 3 latest posts
    2) loop of 5 lateast posts
    3) loop of all posts

    1,2 are in the sidebar.

    I tried to do this with

    <?php query_posts('showposts=3'); ?>
    <?php if(have_posts()) : ?>
    <?php while(have_posts()) : the_post(); ?>
    
    --stuff--
    
    <?php endwhile; ?>
    <?php else : ?>
    <?php endif; ?>

    I copied & pasted that code couple times and changed the showposts=3 part but it messed the whole blog…

    anyone has any solution? thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘3 query loops in 1 page’ is closed to new replies.