Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Gutenberg Custom Fields

Descripción

Gutenberg Custom Fields allows you to control the content of the Gutenberg edit screen by creating pre-filled templates.

Navigate to the “GCF” admin page, create a new template, select a post type and add fields as you wish.

The Gutenberg Editor will be pre-filled with the corresponding post type’s template.

Features

  • Customize the title, the name of the post_meta key and the type of the field.
  • Several fields types available: Text, Textarea, Image, Number, Email and more to come.
  • Based on Gutenberg Native Extensibility APIs (blocks and templates).
  • Templates Lock level.
  • Create custom field types
  • Add a Free HTML Area

How can I contribute?

This plugin is being worked on in GitHub

Documentation

Documentation can be found here. If you don’t find the answers you’re looking for, submit an issue.

Reseñas

2 de octubre de 2018
This by far has the most custom fields options for any gutenberg plugin I've seen so far. While those fields are determined per page (versus per block) it's presentation of those fields is much better integrated with the Gutenberg editor than other well known plugins like ACF which still lacks proper Gutenberg support. Please keep developing this project!
9 de agosto de 2018
A typical theme that we use allows editors to use any number of specific custom fields to add additional content to a page, such as a field for microdata. There are quite a number of possible fields but it would be rare to use more than just a few, so it's pretty unweildly to be presented with a complete list of all possible choices. Such a list might be useable if presented in the traditional way on a pulldown list, but as this plugin stands now it's fairly cumbersome. At first i could not find the custom fields at all, until i realized that they are only visible in the visual editor -- somewhere i rarely go when working on a site. With this plugin, custom fields are only available for new posts, but not for existing content. And there does not appear to be any way with this plugin to access existing custom fields on existing content or to add new custom fields to existing content. With some improvements this might be a good tool for new sites that use Gutenberg from the get-go, but it is completely dysfunctional for existing sites.
19 de julio de 2018
Gutenberg is great, but I need a way to associate arbitrary key-value pairs with posts. The post-meta-as-block paradigm doesn't make sense for many use cases, and having to pre-commit to a set of meta values with a template is a bit stifling. This plugin is a more useful alternative: https://wordpress.org/plugins/custom-fields-gutenberg/
26 de diciembre de 2017
This plugin is very promising and it's very easy to use. I hope that the equivalent of ACF Repeater field and ACF Relationship field are added soon. Also, being able to save the CPT meta data in custom database tables is essential for metadata searching and reporting. It's well documented that searching the wp_postmeta table is painfully slow.
Leer todas las 6 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"Gutenberg Custom Fields" ha sido traducido a 5 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce "Gutenberg Custom Fields" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.5.6

  • Compatibility with WordPress 5.0 RC

1.5.4

  • Compatibility with Gutenberg 3.6
  • Fix blank page issue

1.5.4

  • Compatibility with Gutenberg 3.5
  • Update npm dependencies
  • Fix lodash conflict

1.5.3

  • Allow mixing a locked template with an unlocked HTML area
  • Fix adding the Free HTML Area field

1.5.2

  • Update Gutenberg Deprecated APIs (2.9)

1.5.0

  • Add a repeater field (saved as JSON)
  • Simplify custom field API
  • Small UI tweaks
  • Fix i18n issues

1.4.0

  • Internationalize the plugin

1.3.0

  • Allow creating third-party GCF field types
  • Add a Free HTML content area field saved to post content.
  • Add a composer.json to allow using the repository from wpackagist.
  • Use WordPress packages and last Gutenberg components.

1.2.0

  • Add Date, DateTime and Time field types.
  • Disable the HTML mode for all the Custom Fields Blocks.

1.1.0

  • Fix Image Field Type per Gutenberg 2.1 update.
  • Adding a button to remove templates.

1.0.0

  • Tweak the UI and the Flow to create templates.

0.2.1

  • Fix script loading order.

0.2.0

  • Adding introduction to the GCF admin page.
  • Use Redux for state management, fixes refreshing issues.
  • Exclude hidden and attachment post types.
  • Support template locks.
  • Small UI polish.

0.1.0

  • First release of the plugin.