Ready to get started?Download WordPress


Using offset in query_posts only for selected categories (1 post)

  1. antekera
    Posted 2 years ago #

    I´m including two categories in my loop and triying to apply offset to just one this way:

    //// My content 
    <?php endwhile; ?>
    <?php else : ?>
    <?php endif; ?>

    But i´m getting offset in both, it is possible to apply only for one category and show last 5 posts in the other one?

Topic Closed

This topic has been closed to new replies.

About this Topic