Title: Sticky posts creating a problem
Last modified: August 21, 2016

---

# Sticky posts creating a problem

 *  [HFman](https://wordpress.org/support/users/hfman/)
 * (@hfman)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/sticky-posts-creating-a-problem/)
 * Hi,
    I’m placing 3 Sticky posts on the home page (page 1). I like to display 
   7 posts per index pages using pagination. What happens now is that the pagenavi
   doesn’t bring in to count the number of sticky posts that I have on my home page
   and what gets displayed on page 1 is 10 posts (7 default + 3 sticky posts). the
   messes up the first page, and to compensate if reduce the number of posts for
   index page to a lower number (lets say 4), then pagenavi starts paginating by
   displaying only 4 posts (7 – 3 stickies) from page 2 onward.
 * Is there way you can ad a setting to pagenavi so user can set the number of sticky
   posts on page 1 or other? This way pagenavi can deduct the number stickies from
   the default number of posts displaying the correct number of posts for all pages.
 * Thank you
 * [https://wordpress.org/plugins/wp-pagenavi/](https://wordpress.org/plugins/wp-pagenavi/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [HFman](https://wordpress.org/support/users/hfman/)
 * (@hfman)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/sticky-posts-creating-a-problem/#post-4613789)
 * Just in case if my first post made things confusing – Here is my site:
 * [http://www.bestwaytocookturkey.com/](http://www.bestwaytocookturkey.com/)
 * I have 3 stickys on my home page, and I like to show 7 posts per page when paginating.
   Because of the 3 stickies if I set the default post-per-page to 7 pagenavi ends
   up displaying 10 posts on the first page and 7 for the rest. I reduced the default
   to 4, so pagenavi is now showing 7 posts for the first page, but now I get 4 
   posts per page for the rest.
 * I need to have 7 posts per page including the stikies. Could you make Pagenavi
   to adjust when sticky posts are used, perhaps with a user settings in the admin
   area, or automatically.
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Sticky posts creating a problem’ is closed to new replies.

 * ![](https://ps.w.org/wp-pagenavi/assets/icon.svg?rev=977997)
 * [WP-PageNavi](https://wordpress.org/plugins/wp-pagenavi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pagenavi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pagenavi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pagenavi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pagenavi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pagenavi/reviews/)

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [Sticky posts](https://wordpress.org/support/topic-tag/sticky-posts/)

 * 1 reply
 * 1 participant
 * Last reply from: [HFman](https://wordpress.org/support/users/hfman/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/sticky-posts-creating-a-problem/#post-4613789)
 * Status: not resolved