• Resolved Justin Kopepasah

    (@kopepasah)


    When adding the Infinite Scroll Block to the loop, sticky posts are not excluded from subsequent requests. I tried to find where the development for this plugin is taking place (e.g. GitHub) in order to make a contribution, but was unsuccessful.

    There are a few methods for ignoring sticky posts, but the best is to use the 'post__not_in' parameter in the query, along with get_option( 'sticky_posts' ).

    Happy to make this contribution in a pull request, if you share the development repo for this plugin.

    Thanks for all your hard work!

Viewing 1 replies (of 1 total)
  • Plugin Author Patrick

    (@apedestrian)

    Hey! Sorry for the delay; pretty full work week.

    Oh man… Sticky post support is riddled with bugs. I must not have tested the plugin with them.

    Here is the repo link if you’d like to poke around.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Sticky Posts from Addition Queries’ is closed to new replies.