Sunday, July 17, 2022
HomeWordPress DevelopmentThe right way to register two blocks in the identical plugin

The right way to register two blocks in the identical plugin


I am beginning to develop Gutenberg blocks. After

npx @wordpress/create-block gutenpride

I’ve my gutenpride block prepared to make use of. For the reason that generated plugin accommodates a construction for just one block I’m wondering what modifications ought to I make so as to add one other related block in the identical plugin.

So, for the default construction within the gutenpride plugin, what modifications ought to I make so as to add one other block? Thanks.

UPDATE: I’ve found that I can discover solutions on this matter looking for “multi block plugin” (I could not discover something earlier than). This query for instance. So, this query might be a attainable duplicated. I am nonetheless researching.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments