Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Loop: It doesn't show sticky posts at the top when the query type is the default in the editor. #68570

Open
3 of 6 tasks
iamtakashi opened this issue Jan 9, 2025 · 0 comments · May be fixed by #68595
Open
3 of 6 tasks
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Bug An existing feature does not function as intended

Comments

@iamtakashi
Copy link

Description

With the default query type, a sticky post doesn't appear at the top of the blog stream in the editor. However, it does appear at the top on the front of the site, creating a discrepancy between the editor and the front of the site.

Step-by-step reproduction instructions

  1. Have at least a sticky post on the blog
  2. Open the template using a query loop block (index, archive, etc.) in the editor.
  3. Notice the sticky post isn't at the top.
  4. Open the front of the site and see the sticky post at the top.

Screenshots, screen recording, code snippet

Editor Front of the site
Image Image

Environment info

WP 6.7.1
Gutenberg trunk
Chrome

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@iamtakashi iamtakashi added the [Type] Bug An existing feature does not function as intended label Jan 9, 2025
@Mamaduka Mamaduka added the [Block] Query Loop Affects the Query Loop Block label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Bug An existing feature does not function as intended
Projects
None yet
2 participants