[wp-trac] [WordPress Trac] #62975: Twenty Twenty-Five: Exclude sticky posts when offset is used

WordPress Trac noreply at wordpress.org
Mon Feb 17 06:04:51 UTC 2025


#62975: Twenty Twenty-Five: Exclude sticky posts when offset is used
---------------------------+-----------------------------
 Reporter:  poena          |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 In Twenty Twenty-Five, there are several templates that use query loop
 blocks with offsets.

 Sticky posts are not hidden by default when offset is used, which means
 that if a website has sticky posts, they show more than once when the
 templates are used.

 The repeated content is not desired because it is not good experience for
 visitors.

 See this support request:
 https://wordpress.org/support/topic/posts-loop-broken-when-complex-blog-
 template-used/

 This can be solved by updating the query loops that have offsets to also
 ignore sticky posts.
 The "ignore" option is planned to be added in WordPress 6.8. See
 https://core.trac.wordpress.org/ticket/62908

 Another alternative would be to use "exclude" sticky posts, then the
 sticky would not be repeated, but it would not be shown at all.


 -----

 Users can also remove the sticky status from their posts. But it is not so
 easy for users to discover that they can solve the problem that way.

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


More information about the wp-trac mailing list