mikacaldera / gutenberg-category
Custom category type for custom gutenberg blocks
Installs: 484
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
Requires
- php: >=7.3.11
- composer/installers: ^1.0
README
Package that will create a special categeory in your gutenberg blocks list named 'Custom'. Created for custom WordPress websites using sage and roots.io.
🔌 Install
Add following snippet to your site:
{
"type": "vcs",
"url": "git@github.com:MikaCaldera/gutenberg-category.git"
}
In your site folder run the following command.
composer require "mikacaldera/gutenberg-category"
📐 Use
When you create a new custom gutenberg block use the category custom
to have it listed under custom Gutenberg blocks.
// Basic Specs
title: __( 'Container', 'create-block' ),
description: __(
'Adds options for a container and background color.',
'create-block'
),
keywords: [__('container'), __('full'), __('block')],
category: 'custom',
icon: 'editor-contract',