Fork me on GitHub

CMB2 Metabox Code Generator

Use this generator to create fully functional CMB2 metaboxes easily. Save your time from boring works.

General Properties

Metabox properties. Use this section to define the scope of metabox, set it's id and other things.

Where this metabox will be shown? like 'page','post' etc

This function will hook into cmb2_init action

Start with an underscore to hide fields from custom fields list

Metabox Fields

Generate Metabox fields from this section