Skip to content

Query Loop block not working in frontend #60803

@mayurprajapatii

Description

@mayurprajapatii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TestingNeeds further testing to be confirmed.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions