Dynamic visibility by post tag


Seems that dynamic visibility is not working for post tags condition. Maybe it has something to do with being in a query, but it works with post categories.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Choose paragraph block
  2. Click on dynamic visibility and choose Post Tag condition (equals, to your desired post tag).
  3. Paragraph will not show on the front end, but it shows in the editor correctly

Screenshots, screen recording, code snippet

Environment info

  • WordPress version: 6.0.1-6.0.2
  • Gutenberg Plugin version: -
  • Cwicly Plugin version:
  • Cwicly Theme version: 1.0.3

Hello @mantasb,

Sorry for the late reply.

I have just taken a look at this and can’t seem to reproduce the issue on my side whether inside a Query block or simply on a block outside a Query block.

Is this still happening for you?


Unfortunately yes. I’m not sure what I’m doing wrong then.
Maybe it has something to do with the fact that it’s in a template?

Some more screenshots:
Backend editor:


If I set dynamic visibility not by “Post Tag” but by “Post Category” it shows correctly.