Advanced Custom Fields version 5.8.0 is now available for download. This new release includes a powerful PHP-based framework for developing custom block types!
Here is a quick look at an ACF Block in action!
The mission for ACF version 5.8.0 has been to bring block development to everyone, and I’m delighted to say that “I think I have done it”!
Almost anything is possible and b) Thoughtfulness leads to happiness.
I say this because a solution, no matter how impressive, is only as good as it is usable. ACF Blocks makes Gutenberg more usable.
ACF blocks are highly customisable and powerfully dynamic. They integrate deeply with custom fields allowing PHP developers to create bespoke solutions inline with WordPress theme development. To learn more, please read the ACF Blocks documentation.
Similar to WP theme development, ACF blocks are rendered using a PHP template file or callback function allowing full control over the output HTML.
ACF blocks offer full compatibility with all field types including both the Repeater and Clone fields!
It’s a similar story for template functions too. Whether you are loading a field value via
get_field(), or looping over a Repeater field using
have_rows(), the experience remains familiar and consistent to regular theme development.
Content changes, and so do block previews! When editing an ACF block, the HTML will update in the backend giving you a real time preview of your content.
With ACF Blocks out in the wild, I’m excited to see what the community make of it. There’s no denying that the Gutenberg rollout has been bumpy to say the least, but I hope that this PHP framework can help developers take a second look.
I mentioned above that the “planning” side of things has sparked my interest. By this, I mean the planning for what ACF will look like over the next 2, 5 or 15 years.
Exciting features are already in the works for ACF’s future, and I can’t wait to share them with you when the time is right.
For now, I’ll leave you with ACF Blocks whilst I figure out “being a dad” 👋.