Excluding featured posts from "posts_per_page" count
This is beyond my WordPress/PHP knowledge. Thanks in advance for any help!
On the home page, I have five featured posts, and then below that I’d like to display the first five posts from several different categories. The below code is working great, except that the featured posts count towards the “posts_per_page” number, so some categories have less than five posts displayed.
Is there a way to exclude the featured posts from the “posts_per_page” number? Below is the code showing the featured posts and the first category. (I’m also styling the first post from each category differently from the next four posts; hence the $postCount.)
Thanks again for any help.
- The topic ‘Excluding featured posts from "posts_per_page" count’ is closed to new replies.