Reusable Block does not work with Frontend Rendering


For my grid layout I use a Reusable Block. This works fine except for queries that are set to Frontend Rendering. In this case the query will be empty.

Screenshots, screen recording, code snippet

Environment info

  • WordPress version: latest
  • Gutenberg Plugin version: -
  • Cwicly Plugin version: latest
  • Cwicly Theme version: latest
1 Like

Very interesting find @Jonas.

As a quick test to verify there are no other factors affecting it - if you haven’t already done so, you can quickly convert the reusable block back to regular blocks and check if the exact same set of blocks works:

This can be reverted by undo afterwards of course.

Hi @StrangeTech, thanks for your suggestion!

I did something similar. I duplicated the div inside the Reusable Block and moved it outside of it and removed the Reusable Block after that. So I had exactly the same structure I had with the Reusable Block.
This way it did work without any issues. So the cause seems to be the Reusable Block.

I confirm the issue.

Switching frontend rendering ON seems to break the item rendering (empty) when using a reusable block:

Everything is OK with non reusable or non frontend.