Navigation Menu

Skip to content
Justin Sternberg edited this page Dec 5, 2018 · 68 revisions

Welcome to the CMB2 wiki! This is a code library for WordPress themes and plugins that makes it easy to add metaboxes, fields, and forms to WordPress. Easily manage meta for posts, terms, users, comments, or create custom option pages.

The best way to get started is look at example-functions.php and read the Basic Usage tutorial.


Documentation:

  1. Installation
    Installation instructions for various environments

  2. Basic Usage
    Get up and running

  3. Advanced Usage
    Not for the faint of heart

  4. Field Types
    A breakdown of each of the field types included with CMB2.

  5. Examples
    Examples for registering fields for the different object types.

  6. Field Parameters
    A breakdown of each of the common field parameters.

  7. Display Options
    Limit the display of your boxes

  8. Box Properties
    Docs for the possible CMB2 box properties.

  9. Troubleshooting
    Some common issues and how to deal with them

  10. Notable Changes in CMB2 (from original CMB)
    CMB2 is a complete re-write

  11. Tips & Tricks
    10x your CMB2 skills.

  12. REST API
    Access your CMB2 data through the WordPress REST API.

  13. Javascript API
    How to work with the various CMB2 events and hooks in Javascript.

Advanced tutorials:

External Resources:

Documentation:

  1. Home

  2. Installation
    Installation instructions for various environments

  3. Basic Usage
    Get up and running

  4. Advanced Usage
    Not for the faint of heart

  5. Field Types
    Breakdown of field types

  6. Examples
    Examples for registering fields

  7. Field Parameters
    Breakdown of common field parameters

  8. Display Options
    Limit display of boxes

  9. Box Properties
    Breakdown of box properties

  10. Troubleshooting
    Common issues & how to deal with them

  11. Notable Changes in CMB2 (from original CMB)
    CMB2 — a complete re-write

  12. Tips & Tricks
    10x your CMB2 skills

  13. REST API
    CMB2 data through WordPress REST API

  14. Javascript API
    Work with CMB2 JS events & hooks

Advanced tutorials:

External Resources:

Clone this wiki locally