Continue the discussion

Published

May 14, 2024

Custom meta boxes have been a common tool used by plugin and theme developers to add additional functionality to posts and pages in WordPress. While meta boxes are supported in the Block Editor, they are considered a “legacy” tool and do not provide an ideal user experience. There are also a number of technical downsides to meta boxes, and developers are encouraged to migrate to alternatives.

In this session, we explored the current options available for adding custom plugin and theme settings in the Block Editor and how you can manage metadata using React and native WordPress components. You will learn how to:

– Use slots to add custom panels in the Settings Sidebar
– Implement a modal for additional settings
– Fetch and save post metadata using JavaScript
– Connect post metadata to blocks

Presentation Slides »

Rate this:

Speakers

Ryan Welcher 28
Nick Diego 53

Tags

Developer Hours 22

Language

English 11401

Download
MP4: Low, Original
Subtitles
Subtitle this video →
Producer