WP Manifestindependent plugin directory
manifest / content / cmb2-grid

CMB2 Grid

A grid system for Wordpress CMB2 library that allows columns creation

by Origgami · github.com/origgami/cmb2-grid · website

88stars
11kcomposer installs
22forks

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/origgami/cmb2-grid/archive/refs/heads/master.zip

Also on Packagist as origgami/cmb2-grid:

composer require origgami/cmb2-grid

From the readme

CMB2-grid A grid system for Wordpress CMB2 library that allows the creation of columns for a better layout in the admin. Installation For now you have to install this as a WordPress plugin: 1. Download the plugin 2. Place the plugin folder in your /wp-content/plugins/ directory 3. Activate the plugin in the Plugin dashboard Usage Create your cmb2 metabox like you always do: Now, create your columns like this: You can also use custom bootstrap column classes if you want, like this FAQ - It works on group fields also - If you want, you can opt to use the metabox and the field IDs also. - Currently the grid system is using a lite version of Twitter Bootstrap - You can create as much rows as you want - You have to put the fields in the columns in the same order they were created - You can follow exactly what is in Test/Test.php file to see it in action Screenshots This is what you get using columns

Read the full README on GitHub →