[wp-trac] [WordPress Trac] #64712: Sticky Posts don't appear at top of Category / Taxonomy pages

WordPress Trac noreply at wordpress.org
Tue Feb 24 04:52:23 UTC 2026


#64712: Sticky Posts don't appear at top of Category / Taxonomy pages
-------------------------------+-----------------------------
 Reporter:  jordesign          |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 Originally opened as a Gutenberg issue:
 https://github.com/WordPress/gutenberg/issues/51936

 When viewing a category or taxonomy page - Sticky posts are not shown at
 the top of the list. This appears to be by design.

 > Yeah, this actually seems to be "as intended", in a way. The WP_Query
 class will not load sticky posts if you're not is_home. That should be
 true in classic themes as well. The query loop block takes no action on
 the query if you leave the default sticky setting, and that's going to
 have to change.

 > I think the "Include" sticky setting needs an explicit value set (right
 now it's value is empty), and that needs to trigger using post__in in some
 block logic that currently lives in WordPress core.
 https://github.com/WordPress/gutenberg/issues/51936#issuecomment-2105414534

 It would be good for the sticky settings to be honoured even in these
 circumstances.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64712>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list