WP Manifestindependent plugin directory
manifest / editor / custom-blocks

Custom Blocks

:package: Custom Gutenberg Blocks

by Imran Sayed · github.com/imranhsayed/custom-blocks · website

26stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/imranhsayed/custom-blocks/archive/refs/heads/master.zip

From the readme

Description This plugin adds a custom Gutenberg blocks in the Gutenberg editor of your WordPress dashboard. Installation :wrench: 1. Download the zipped plugin. Unzip the plugin. 2. Navigate to the Plugins Add new screen in your WordPress administrative dashboard. 3. Click Add New at the top of the page. 3. Click Upload Plugin at the top of the page. 4. Click Choose File, then find and Upload the downloaded renamed zip file. 5. After the plugin finishes installing, click Activate. or, Go to your plugin directory from terminal and Clone this repo in wp-content/plugins directory git clone https://github.com/imranhsayed/custom-blocks And then activate it from Plugins screen in your WordPress administrative dashboard. 6. That's it! Configuration ( @wordpress/scripts ) - This plugin uses @wordpress/scripts which installs and sets up webpack and babel config out of the box - The @wordpress/scripts is installed in the root of the project. This is one single plugin that registers many blocks. - By default @wordpress/package uses src/index.js as entry point and build/index.js Directory Structure Scripts 1. npm run start : will use the src/index.js as entry point and out

Read the full README on GitHub →