Results per page excludes sticky posts

Forums › Forums › Search & Filter Pro › Results per page excludes sticky posts

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #36545

    Hi, I have set my Results per page to 12 but when I create a sticky post I can see 13 results on my page.

    How do I include sticky posts in the total number of results displayed on a page?

    wordpress 4.4.2
    search-filter-pro 2.1.0

    Thanks,
    Kevin.

    Ross Moderator
    #36556

    Hmmm this looks like a known bug in WP:

    http://wordpress.stackexchange.com/questions/76620/sticky-posts-exceed-posts-per-page-limit

    I’ll do some digging around, see if there is an easy fix :/

    Anonymous
    #37816

    Hi any update on this? did you find any solutions? thanks, Kevin.

    Ross Moderator
    #37907

    Hey Kevin

    I haven’t had a chance.

    I’m working on an update to be released next week after which I will look in to this.

    It doesn’t look like an easy fix so not sure how long it would take to fix. If its an inherent problem with WP itself, its likely not going to be something simple.

    Thanks

    Anonymous
    #56094

    Hey, have you had a chance to look in to this? I have had another go but can not solve it. Thanks for all your help.

    Trevor
    #56105

    It is not resolvable with WP in its current format. I assume you do not want the sticky posts at the top of every page, just the first? If so, you can set up a field called sticky_post and use or post sorting to put these first.

    I know of another user who did just this, and stopped using the WP sticky option.

Viewing 6 posts – 1 through 6 (of 6 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.