How to offset posts in one category by 3 in main page's loop?
I have a “featured” section on the main page which highlights selected blog posts, and this section sits right above the main blog loop. How do I edit the following code to exclude the three latest posts in category id 7 (category name is “Featured”) from displaying in the main blog loop?
The code below is from my theme’s index page; I have a hunch this is where the change would need to be made, but my searches haven’t turned up anything that deals with this specific bit of code.
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
If I’m wrong, let me know! Thank you in advance for your help!
- The topic ‘How to offset posts in one category by 3 in main page's loop?’ is closed to new replies.