YoVDO

Using Custom Meta Boxes in WordPress

Offered By: LinkedIn Learning

Tags

WordPress Courses Taxonomy Courses

Course Description

Overview

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

Related Courses

SharePoint Enterprise Content Management
Microsoft via edX
Biodiversity and Global Change: Science & Action
University of Zurich via Coursera
Healthcare Data Literacy
University of California, Davis via Coursera
Accreditation and Outcome Based Learning
Indian Institute of Technology, Kharagpur via Swayam
DRUPAL TUTORIAL: Drupal 8 Beginner to Advanced in 8 PROJECTS
Udemy