CMB2: A hitchhiker’s guide to the WordPress galaxy
The blurb: “CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind.”
Handy developer toolkit which can help you quickly get up and running with:
Step 2-A: Copy example-functions.php to theme includes folder, and include from functions.php.
Step 2-B: Remove the types of fields we don’t need right now
Step 2-C: Add the front-page condition to the CMB config. (already done in example-functions.php!)
Step 4-A: Add options page fields:
Step 5-A: Add the fields/metabox we need to our custom post-type:
Step 6: Custom plugin for a books post type; front-end submission form for users to submit new books
Step 6-A: Add the fields to our front-end submission shortcode form:
Step 6: Custom plugin for a books post type; add front-end submission shortcode
Step 7: OUT OF SCOPE! Genre archive pages featured image
In summary, 42.
Keep going for listings of resources associated with this presentation