Feature plugin for MultiVendorX + Gutenberg to explore new Blocks for MultiVendorX, and how MultiVendorX might work with the block editor.
MVX Blocks basically a package for MultiVendorX with development version.
We soon release a new version of MultiVendorX Blocks onto WordPress.org every few weeks, which can be used as an easier way to preview the features. But you can use this version by as follows -
-
Make sure you have WordPress 5.0+ and MultiVendorX 3.2+
-
Get a copy of this plugin using the green "Clone or download" button on the right and placed it within WordPress setup "plugins" directory.
-
Activate the plugin.
-
Get a copy of this plugin using the green "Clone or download" button on the right.
-
npm install
to install the dependencies. -
npm run start
to compile and run the block in development mode. -
npm run build
Use to build production code for your block insidedist
folder. -
Activate the plugin.
-
Get a copy of this plugin using the green "Clone or download" button on the right.
-
Place the plugin folder within "MVX plugin"
packages
folder. -
Load "MVX Block" plugin module in
$packages
variable ofPackage.php
-
Set
add_filter( "mvx_load_package_{$package_dir}", '__return_true' )
. And for "MVX Blocks"$package_dir
should bemvx-blocks/wcmp-blocks.php
unless folder renamed. -
You can also use it as a wordpress plugin.