Compatibility with Duplicate Page plugin


My grid was behaving very strangely and I searched for 30 minutes why.

The reason: I had duplicated an “element block” of Generatepress, which is possible with the popular Duplicate Page plugin.

Both blocks kept the same CSS identifier. I realized this by looking at the source code of the page. So when I changed the CSS options of one of the two blocks, both blocks were changed at the same time!

The solution is to use the “duplicate” option in Gutenberg to duplicate the general container of the block, which forces GB to create a new unique identifier.

I hope this helps.

1 Like

Thanks for sharing Chaplin!