Install
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/boospot/gutenberg-blocks-with-metabox/archive/refs/heads/master.zipGutenberg Blocks With Metabox.io
How to use this repo:
There are two ways to use this repo:
-
You need to install the dependency plugins in your WordPress install and then install this plugin
-
To include all the dependencies (Metabox base plugin, Mb Blocks extension) in this plugin, so you do not need to ask client to install these plugins separately.
Method 1: Requires installing dependency plugins:
you need to install these plugins:
You may get the working plugin .zip here: Installable Plugin Files
or clone this repo in your wp-content/plugins directory and then inside the cloned repo, run composer update
Method 2: include dependencies in this plugin:
You need to follow these steps:
-
Replace the
composer.jsonfile with following contents. -
in
composer.jsonfile updateYOUR_METABOX_KEYSto your premium keys from Metabox.io -
You shall need to have composer installed on your computer. In the plugin directory, run following:
composer update
{
"name": "boospot/skeleton",
"description": "Skeleton for WordPress Plugin Boilerplate with Namespace",
"type": "wordpress-plugin",
"license": "GPL2",
"authors": [
{
"name": "Rao",
"email": "rao@booskills.com"
}
],
"require": {
"wpackagist-plugin/meta-box": "5.*",
"meta-box/mb-blocks": "dev-master"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.metabox.io/YOUR_METABOX_KEYS"
},
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"extra": {
"installer-paths": {
"vendor/meta-box/meta-box": [
"wpackagist-plugin/meta-box"
],
"vendor/meta-box/{$name}/": [
"type:wordpress-plugin"
]
}
},
"autoload": {
"classmap": [
"includes",
"admin",
"public",
"blocks"
],
"files": [
"vendor/meta-box/meta-box/meta-box.php",
"vendor/meta-box/mb-blocks/mb-blocks.php"
]
}
}