Support

Account

Home Forums Gutenberg Auto Blocks for Gutenberg

Unread

Auto Blocks for Gutenberg

    • benplum

    • December 29, 2018 at 8:18 am

    I put together a plugin that auto registers ACF field groups as Gutenberg blocks. This allows new editor blocks to be inserted without extra boilerplate code in theme files. Simply activate the ‘Auto Block’ setting on a field group, configure the options and presto – the block will be available in the Gutenberg editor.

    I also make heavy use of flexible layouts to create ‘page builders’ in templates, and included a new action that will convert existing layouts into stand-alone block-ready field groups. This has been very helpful in upgrading older projects.

    You can find the plugin over at GitHub: https://github.com/benplum/ACF-Auto-Blocks. It goes without saying that this will require the latest 5.8 beta release. Feedback or ideas are always welcome!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.