[wp-trac] [WordPress Trac] #63365: Sticky Posts Appear at the Top of Every Page in the Query Loop Block
WordPress Trac
noreply at wordpress.org
Mon Apr 28 12:18:02 UTC 2025
#63365: Sticky Posts Appear at the Top of Every Page in the Query Loop Block
--------------------------+-----------------------------
Reporter: karthikeya01 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
See https://github.com/WordPress/gutenberg/issues/69867 (The author closed
the issue, but I believe this is a valid bug that needs to be addressed.)
Steps to Reproduce
1. Create some regular posts and some sticky posts.
2. Add a Query Loop block to a page.
3. Visit the frontend of the page and navigate through different pages in
the loop.
4. Observe that sticky posts appear at the top of every page.
[https://private-user-
images.githubusercontent.com/82776409/432731711-a0853be6-0543-498e-8358-d936707b16d6.mp4?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDU4NDIzNzYsIm5iZiI6MTc0NTg0MjA3NiwicGF0aCI6Ii84Mjc3NjQwOS80MzI3MzE3MTEtYTA4NTNiZTYtMDU0My00OThlLTgzNTgtZDkzNjcwN2IxNmQ2Lm1wND9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDI4VDEyMDc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlYzdlN2E3MzA1NDAyYWE0MDQwNjU0ZDU3OTY0YjYxNDJlZGQwM2E0MjdjNWFlYjM4ZDYxMDJhZjYwNWExZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.FjBFR18hVGWlzKeL4XMi_mFdQn5gNqiieAQA_k8QqBQ
Video]
Comment from the GB issue
https://github.com/WordPress/gutenberg/issues/69867#issuecomment-2796815674
> Sticky posts should be limited to the first page, or placed according to
their natural order in the post listing. This is the standard and expected
behavior from a user perspective. Repeating them on every page has no
added value and negatively affects content discovery.
>
> Why it matters:
>
> Reduces content visibility: Newer/non-sticky posts are pushed further
down on each page.
>Hurts usability: Users must scroll past the same content multiple times.
>Wastes space: The repeated sticky content adds no benefit beyond page 1.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63365>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list