Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 3.55 KB

Home.md

File metadata and controls

78 lines (50 loc) · 3.55 KB

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: