WP Manifestindependent plugin directory
manifest / editor / gutenberg-blocks-with-metabox

Gutenberg Blocks with Metabox

Gutenberg Blocks With Metabox.io

★ 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/boospot/gutenberg-blocks-with-metabox/archive/refs/heads/master.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 Blocks With Metabox.io

How to use this repo:

There are two ways to use this repo:

  1. You need to install the dependency plugins in your WordPress install and then install this plugin

  2. 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:

  1. Metabox
  2. MB Blocks Extension

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:

  1. Replace the composer.json file with following contents.

  2. in composer.json file update YOUR_METABOX_KEYS to your premium keys from Metabox.io

  3. 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"
            ]
      }
}