Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Using Custom Meta Boxes in WordPress

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Find out how to use CMB2 as a framework to create advanced and extended WordPress posts using custom meta fields, and explore ways to display that info on the frontend.

Syllabus

Introduction
  • Custom fields without dependency
  • What you should know
  • Demo project overview
1. How CMB2 Works
  • What is CMB2 and how does it work?
  • The difference between CMB2 and ACF
  • Installing CMB2 via the Plugin Directory
  • Setting up our project plugin
  • CMB2 as a library for your plugin
  • The CMB2 documentation
  • Field types in CMB2
  • CMB2 and the block editor
2. Building Our Custom Fields
  • Defining our custom fields
  • Creating our meta boxes
  • Adding a the custom field type
  • Adding fields to our meta boxes
  • Adding a file uploader
  • Creating a repeatable field
  • How to get data from CMB2
  • Adding our custom fields to the frontend
  • Displaying from a repeatable field
3. Creating a Post Select Box
  • Building a post select box
  • Updating the content output
4. Noteworthy Features
  • Bringing in taxonomies
  • Frontend Meta Box support
  • Creating a theme options page
  • Adding fields to user profiles
Conclusion
  • Next steps

Taught by

Joe Casabona

Reviews

4.7 rating at LinkedIn Learning based on 6 ratings

Start your review of Using Custom Meta Boxes in WordPress

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.