Directory

Query Loop block not working in frontend · Issue #60803 · WordPress/gutenberg · GitHub
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 block not working in frontend #60803

Closed
mayurprajapatii opened this issue Apr 17, 2024 · 1 comment
Closed

Query Loop block not working in frontend #60803

mayurprajapatii opened this issue Apr 17, 2024 · 1 comment
Labels
Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended

Comments

@mayurprajapatii
Copy link

mayurprajapatii commented Apr 17, 2024

Description

Query Loop block display posts in backend & not showing posts in frontend
it show the page name in which we put the query loop block

Step-by-step reproduction instructions

  1. Add new page
  2. Add Query Loop Block
  3. It will display posts & save the page
  4. check in frontend none posts will display only current page will display

Screenshots, screen recording, code snippet:

Backend:

backend

Frontend:

frontend

Environment info

PHP 8.0
WordPress 6.5.2
Theme - Twenty Twenty one 2.2

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

@mayurprajapatii mayurprajapatii added the [Type] Bug An existing feature does not function as intended label Apr 17, 2024
@fabiankaegy
Copy link
Member

Hey @mayurprajapatii 👋

By chance could it be that the Query block has the "Inherit query" option enabled in the sidebar?

@fabiankaegy fabiankaegy added the Needs Testing Needs further testing to be confirmed. label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants