Question

I'm trying to make sense of how to add custom page options to the right side of the Gutenberg interface. I don't think need a content block, I just need to be able to add a page-specific configuration, but can't seem to make it work correctly.

Pre-Gutenberg I would resolve this with a metabox placed in the right side, however, from what I'm reading it sounds like metaboxes are going to be a bad practice moving forward.

Was it helpful?

Solution

If you're looking to work with the Gutenberg sidebar, WordPress has a provided tutorial that will teach you exactly how to do this: https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/plugin-sidebar-0/

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top