Custom Fields for Gutenberg

Description

Gutenberg no longer displays Custom Fields that are attached to posts. This plugin restores pre-Gutenberg functionality, and displays the Custom Fields meta box on all Gutenberg-enabled pages.

Features

  • Easy to use
  • Clean code
  • Built with the WordPress API
  • Lightweight, fast and flexible
  • Works great with other WordPress plugins
  • Plugin options configurable via settings screen
  • Focused on flexibility, performance, and security
  • One-click restore plugin default options
  • Translation ready

Options

  • Specify the post types that should display custom fields
  • Exclude custom fields that are protected/hidden
  • Exclude custom fields with empty values
  • Exclude specific custom fields by name

Planned Features

  • Ajaxify adding of new Custom Fields
  • Ajax method to Delete custom fields

GDPR

This plugin does not collect any data. So it does not do anything to make your site less compliant with GDPR. I have done my best to ensure that this plugin is 100% GDPR compliant, but I’m not a lawyer so can’t guarantee anything. To determine if your site is GDPR compliant, please consult an attorney.

Support development of this plugin

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

And/or purchase one of my premium WordPress plugins:

Links, tweets and likes also appreciated. Thanks! 🙂

Screenshots

  • Plugin Settings Screen (showing default options)
  • Custom Fields displayed on Gutenberg screen

Installation

Installing the plugin

  1. Upload the plugin to your blog and activate
  2. Configure the plugin settings as desired
  3. Enable theme switcher via settings or shortcode

More info on installing WP plugins

Usage

Works just like the original “Custom Fields” meta box, except:

  • Edit custom field — make any changes and then click the Post “Update” or “Publish” button
  • Add new custom field — add new custom field, click “Update” or “Publish”, and then reload the page
  • Delete custom field — set the field custom field Key/Name to a blank value, click “Update” or “Publish”, then reload the page

Uninstalling

This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen. Custom Fields will NOT be removed.

Like the plugin?

If you like Custom Fields for Gutenberg, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

FAQ

Got a question?

Send any questions or feedback via my contact form

Reviews

Must-have for custom fields

You, sir, are a darn life-saver!!! I don’t understand why WordPress suddenly decided custom fields shouldn’t be used with Gutenberg. Have they any idea of how useful custom fields can be?!

Anyway, thank you for this. Also, I love how it looks exactly like the usual custom tags field used to be. Old users won’t be lost. ^^

Read all 11 reviews

Contributors & Developers

“Custom Fields for Gutenberg” is open source software. The following people have contributed to this plugin.

Contributors

“Custom Fields for Gutenberg” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Custom Fields for Gutenberg” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4 (2018/11/12)

  • Refactors plugin for changes in WP/Gutenberg
  • Adds option to force display Custom Fields meta box (for ACF plugin)
  • Custom Fields box now loads on posts that do not have any meta data
  • Resolves issue where new custom fields could not be added
  • Adds homepage link to Plugins screen
  • Updates default translation template
  • Tests on WordPress 5.0 (beta)

1.3 (2018/08/14)

  • Adds rel="noopener noreferrer" to all blank-target links
  • Makes it possible to delete any custom field by setting its key/name to blank value
  • Adds “rate plugin” link to settings page
  • Updates donate link
  • Updates GDPR blurb
  • Regenerates default translation template
  • Further tests on WP versions 4.9 and 5.0 (alpha)

1.2 (2018/03/27)

  • Improves logic of g7g_cfg_get_post_types()
  • Replaces update_option with delete_option in g7g_cfg_reset_options
  • Renames G7G_DisplayCustomFields to G7G_CFG_CustomFields
  • Replaces readme.txt URL with WP Plugin Directory URL
  • Further tests on WordPress 5.0 (alpha)

1.1 (2018/03/26)

  • Replaces filemtime() with g7g_cfg_random_string()
  • Changes name and slug to meet WP Directory requirements
  • Renames plugin from “Gutenberg Display Custom Fields” to “Custom Fields for Gutenberg”
  • Renames plugin constants
  • Renames all functions
  • Renames options, et al
  • Regenerates default translation file

1.0 (2018/03/25)

  • Initial release