Block Plugin Doesn’t work With Theme >= 2022
-
I have a plugin, and it supports Gutenberg blocks. I’m using WordPress 6.1.1 On OpenSUSE with PHP 7.4.25. The plugin does work as expected with the 2021 theme. I can insert the block with the 2022 theme, and the block insertion/edit works as expected.
However, when viewing the page, the block doesn’t render.
I’ve poked around, and it looks like the block naming convention may have changed. Looking through my code, I have a fully qualified block prefix of: “plugin-name-gblock”. The code editor shows a block name of “plugin-name/gblock”.
Is this a known change? Can you give me any information about what happened and how I should remediate things?
Thanks!
George
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Block Plugin Doesn’t work With Theme >= 2022’ is closed to new replies.