CMB2 Extension
, (*1)
Contributors: polupraneeth, stackadroit
Homepage: github
Tags: metaboxes, forms, fields, options, settings
Requires at least: 3.8.0
Tested up to: 5.3.2
Stable tag: 1.0.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html, (*2)
Complete contributors list found here: github.com/CMB2/CMB2/graphs/contributors, (*3)
Description
This is a CMB2 Extension repository which help modify the default behavior of CMB2 and extends it's functionality., (*4)
Extension are organized into categories (folders) and each Filed Type is placed in its own file with a name that describes what it does., (*5)
Download plugin on wordpress.org, (*6)
To get started, please follow the examples in the included example-functions.php
file and have a look at the basic usage instructions., (*7)
You can see a list of available field types here., (*8)
Contribution
First attempt at a library. Lots more changes and fixes to do. Contributions are welcome., (*9)
Installation
If installing the plugin from wordpress.org:, (*10)
- Upload the entire
/cmb2-extension
directory to the /wp-content/plugins/
directory.
- Activate CMB2 Extension through the 'Plugins' menu in WordPress.
- Copy (and rename if desired)
example-functions.php
into to your theme or plugin's directory.
- Edit to only include the fields you need and rename the functions.
- Profit.
If including the library in your plugin or theme:, (*11)
- Place the CMB2 Extension directory inside of your theme or plugin.
- Copy (and rename if desired)
example-functions.php
into a folder above the CMB2 directory OR copy the entirety of its contents to your theme's functions.php
file.
- Edit to only include the fields you need and rename the functions (CMB2 directory should be left unedited in order to easily update the library).
- Profit.
Usage
You can view wiki page to usage and setup guide:
Documentation, (*12)
Known Issues
- Not all fields work well in a repeatable group.