WAIT: Ignore Sticky Post not working

Browser: Version 121.0.2277.128 (Official build) (64-bit)
OS: Windows
URL: Link to a page that illustrates this issue
Video: Jam

The option to ignore sticky posts is not working. However, if I use the query editor to manually define my query, sticky posts are ignored as should be. Problem is that my GridBuilder filter facets don’t seem to work if I use the query editor.

Hi Oscar,
Thanks so much for your report!

I think there is simply a comprehension problem here. “Ignore sticky posts” does not exclude the sticky posts from the loop, but merely ensures that they are no longer sticky/prepended. However, since your sticky post is also the most recent post, it will still be displayed first.

Looks like wpgridbuilder needs 'ignore_sticky_posts' => 1 in both cases to make it work properly (btw., there’s no issue with our native filter feature as far as I can see).

Please give it a try and let me know if it works.

/* Don't show sticky posts */
return [
  'post__not_in' => get_option( 'sticky_posts' ),
  'ignore_sticky_posts' => 1,
];
/* Show sticky posts only */
return [
  'post__in' => get_option( 'sticky_posts' ),
  'ignore_sticky_posts' => 1,
];

Best regards,
timmse