How to include sticky posts in 'Blog pages show at most' X number of posts?
-
I’m using the default Loop Code.
I’ve set the ‘Blog pages show at most’ option in Settings > Reading to 11.
In my home page -set to show Latest Posts- whenever I mark a post as ‘Sticky’ it’s being added to the original ‘Blog pages show at most’ count, so the home page now shows 12 posts instead of 11.
I want to avoid this!
I want to keep 11 posts in total, that being -in the example above- 1 Sticky post plus 10 normal posts. Is this possible?
I’ve already tested this with default themes and all plugins turned off.
Any help will be very much appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to include sticky posts in 'Blog pages show at most' X number of posts?’ is closed to new replies.