Sticky Posts

Forums › Forums › Search & Filter Pro › Sticky Posts

Tagged: ,

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #20153

    Hi there, I’m using custom results templates but preserved most of the querying, for some reason I can’t get things marked as sticky posts to stay at the top once a user filters by any options. I have Relevanssi running as well, and have an extra script running in that to float the sticky posts to the top using the search bar, but it doesn’t hold for the filtering. Any ideas for that? Thanks much!

    Ross Moderator
    #20250

    Hi there

    Currently there are no configurable options with sticky posts – but you could try to modify the query itself using pre_get_posts…

    An example of how to do that with S&F can be found here:

    https://support.searchandfilter.com/forums/topic/filtering-by-meta/#post-12908

    Thanks

Viewing 2 posts – 1 through 2 (of 2 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.