Custom Fields Metabox in Gutenberg Block Editor

The generic “Custom Fields” feature in WordPress is really useful for adding meta data to posts such as redirect URLs or custom feature flags.

WordPress Custom Fields metabox
“Custom Fields” metabox in WordPress.

However, this metabox wasn’t updated for Gutenberg and has to be manually enabled in the block editor options under “Advanced Panels”.

  1. Click on the block editor settings (three dots) in the top-right corner of the page and select “Options”.
  2. Select “Custom Fields” in the “Advanced Panels” section.
  3. The “Custom Fields” metabox is now available under the block editor area.

Here is a video showing how to do that:

How to enable Custom Fields in Gutenberg block editor.

Use Contact Form 7 to collect business leads and enquiries? I created Storage for Contact Form 7 plugin which stores them safely in WordPress database.

Get it Now →

2 Comments

  1. Trang says:

    Hello, is it possible to place a meta box right below the Title field, and above the blocks in Gutenberg editor?
    It’s possible to do that with the classic editor, but Gutenberg doesn’t seem to support that. Do you have any idea?

Leave a Reply to Kaspars Cancel reply