Plans for Carbon Fields and Gutenberg Integration

Gutenberg development is progressing quickly and it’s almost certain that new block editor will be included in WordPress core in several months.

We at htmlBurger are excited about this change. We’re committed to maintaining Carbon Fields and making sure that it will play nicely with Gutenberg.

In order to achieve that we’re working on 2 fronts.

First, we’ll make sure that custom fields containers work flawlessly within the “Post Meta” boxes below the Gutenberg editor.

Additionally, we’re working on new container type block that allows developers to define dynamic Gutenberg blocks like this:

Defining this block will:

– Add a dynamic block to Gutenberg (those are rendered with PHP rather than js)
– The block will be rendered on the front-end via the callback function provided in set_block_render_function() method

You can follow the development of this feature in branch v3 here:

We expect to have the first version by end of November.

Stay tuned for further updates!

9 Responses

  1. Very glad to know this. Turned onto Carbon Fields recently via the community and loving it.

  2. Adam Romanowski says:

    Very glad to hear that. Sounds amazing and even better that I thought you will solve it! Kudos to you 🙂

  3. Mike Hemberger says:

    This is super exciting. I was hoping to see an already stable framework build something like this for custom blocks. Looking forward to this!

  4. I’d like to get an update here and see where things are at.

  5. Stuart Simon says:

    Are you at the testing phase of this yet? Because Gutenberg form submits are AJAX, the JavaScript “carbonFields.validateField” event is not firing, at least when the container is of the “post_meta” type. I’m hoping that your testing of this feature will include the testing of JavaScript validation of the block, and that the developers of Gutenberg have given a way to prevent the AJAX request if the validation throws an exception or returns a value with a specific characteristic.

  6. Les Enfants says:

    this doesn’t work.
    i get
    Fatal error: Call to a member function set_block_render_function() on null

  7. Sunny says:


  8. Carbon Fields says:

    Progress on this feature is being made here:

    We plan to have this feature completed by end of November, i.e. for WordPress 5 release.

  9. Mario Sassmann says:

    Newest gutenberg update broke carbon fields with custom post types. No more meta boxes are shown.

Leave a Reply

Your email address will not be published. Required fields are marked *

Excited about Carbon Fields? Spread the word!