Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

polupraneeth/cmb2-extension

Repository files navigation

CMB2 Extension

CMB2 Extension

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

Complete contributors list found here: github.com/CMB2/CMB2/graphs/contributors

Description

This is a CMB2 Extension repository which help modify the default behavior of CMB2 and extends it's functionality.

Extension are organized into categories (folders) and each Filed Type is placed in its own file with a name that describes what it does.

Download plugin on wordpress.org

To get started, please follow the examples in the included example-functions.php file and have a look at the basic usage instructions.

You can see a list of available field types here.

Contribution

First attempt at a library. Lots more changes and fixes to do. Contributions are welcome.

Installation

If installing the plugin from wordpress.org:

  1. Upload the entire /cmb2-extension directory to the /wp-content/plugins/ directory.
  2. Activate CMB2 Extension through the 'Plugins' menu in WordPress.
  3. Copy (and rename if desired) example-functions.php into to your theme or plugin's directory.
  4. Edit to only include the fields you need and rename the functions.
  5. Profit.

If including the library in your plugin or theme:

  1. Place the CMB2 Extension directory inside of your theme or plugin.
  2. 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.
  3. 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).
  4. Profit.

Usage

You can view wiki page to usage and setup guide: Documentation

Contributors

Financial Contributors

Become a financial contributor and help us sustain our community.

Individuals

Your photo will show up here with a link to your profile.

Organizations

Support this project with your organization. Your logo will show up here with a link to your website.

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Thanks goes out to all these wonderful people:


ThomasDK81

💻

RubenMartins

💻

andercard

💻

Known Issues

  • Not all fields work well in a repeatable group.