'Blog pages show at most' and Sticky Posts
I am just wondering whether the maximum number of blog posts shown per page which is set in Settings > Reading includes sticky posts?
When I am using XAMPP to test out a theme, the homepage will only show the same number of posts as set there, or more if there are more sticky posts. For example, if I set ‘Blog pages show at most’ to 10 and I have 10 sticky posts + 2 normal posts, only 10 sticky posts will be shown. If I have 12 sticky posts, 12 sticky posts posts will be shown regardless of that settings.
However, when I have uploaded the theme to a webhost and testing it out, it seems that the figure set in ‘Blog pages show at most’ is only applied to normal posts. For instance, if I set 10 and I have 2 sticky posts + 10 normal posts, 12 posts will be shown at the homepage instead.
So, which is the correct behaviour? I would actually like to achieve the result in the 2nd paragraph (first example).
Thanks for helping!
- The topic ‘'Blog pages show at most' and Sticky Posts’ is closed to new replies.