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

WordPress Trac noreply at wordpress.org
Tue Feb 17 08:08:35 UTC 2026


#62975: Twenty Twenty-Five: Exclude sticky posts when offset is used
---------------------------------------+------------------------
 Reporter:  poena                      |       Owner:  joedolson
     Type:  defect (bug)               |      Status:  accepted
 Priority:  normal                     |   Milestone:  7.0
Component:  Bundled Theme              |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+------------------------

Comment (by poena):

 Hi
 I agree that only some queries should have stickies set to ignore.


 These patterns have multiple query loops and will show duplicate content
 if sticky posts are included.

 **News blog with sidebar
 template-home-with-sidebar-news-blog.php**
 I would expect the sidebar to show all posts including the sticky,
 but the remaining queries to have sticky set to ignore. Open for other
 suggestions of course.


 **News blog home
 template-home-news-blog.php**
 I would expect all queries to have sticky set to ignore.

 **News blog with featured posts grid
 template-home-posts-grid-news-blog.php**
 I would expect all queries to have sticky set to ignore.
 If the first query at the top of the page does not have sticky set to
 ignore, that section will show more than one post.

 **
 Portfolio homepage
 page-portfolio-home.php**
 This can be tested on a ''page'', not the ''home''.
 I would expect all queries to have sticky set to ignore.


 I'm leaving out the default search results template which has two queries,
 it uses a pattern called "More posts" above the footer. I have not seen
 any user reports about this being confusing/unexpected/unwanted.

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


More information about the wp-trac mailing list