Gutenberg: Adding custom fields to the block editor

When Gutenberg was first launched in WordPress 5.0, users lost the ability to create their own custom fields directly from the editor. Eventually, this was added back in but, by default, they’re turned off.

If you have the need to use custom fields, let me take you through how to switch them back on…

  1. When in the editor, click on the 3 vertical dots in the top right-hand corner.
  1. Click on Options
  1. Under “Advanced Panel”, tick “Custom Fields”
  1. You should now be presented with a “Enable & Reload” button
  1. Press this to add the custom fields back again.

To switch off custom fields, simply go through the above process again, this time unticking the “Custom Fields” option.

One response

  1. […] Adding custom fields to the block editor por David Artiss […]

Talk to me!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from David Artiss

Subscribe now to keep reading and get access to the full archive.

Continue reading