WP Manifestindependent plugin directory
manifest / editor / block-gutenberg

Gutenberg Blocks

Gutenberg blocks for Theme

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/sc0rpi0v/block-gutenberg/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

GUTENBERG Plugin Blocks

Register new block :

go into

wp-content/plugins/Gutenberg-blocks/src

run :

you can see this url for more informations: https://www.npmjs.com/package/@wordpress/create-block

$ npx @wordpress/create-block $blockName --namespace $namespace --category $cat --no-wp-scripts --no-plugin --variant dynamic

After your block was created, in his block.json file set the "category" to : Gutenberg-block

If needed, you can add save.js into your block, don't forget to call them into your index file

In GutenbergBlocks\Blocks\Registered, add:

register_block_type(BUILD . '/your-block-name');

In GutenbergBlocks\Gutenberg\AvailableBlocks add your block name into allowed blocks

go to

wp-content/plugins/Gutenberg-blocks

and run:

npm start