+44 0330 223 3428
Call Us
+44 0330 223 3428

WPTavern: ACF 5.8 Beta 1 Introduces Blocks Feature, Release Slated for November

WPTavern: ACF 5.8 Beta 1 Introduces Blocks Feature, Release Slated for November
photo credit: Adabo! 3d printed tetris blocks(license)

Advanced Custom Fields is now actively testing its new block creation feature in ACF 5.8 beta 1, released this week. ACF Blocks is a feature aimed at PHP developers who have not taken the deep dive into JavaScript yet. It essentially offers a shortcut to creating custom blocks using PHP and HTML instead of JavaScript.

“We believe that ACF Blocks is one of the more important features ever added to our plugin,” ACF representative Eric Karkovack said. “It levels the playing field and allows more developers to take advantage of Gutenberg’s key feature.” The feature was designed to allow WordPress developers who use ACF to maintain their current workflow for extending the editor.

ACF Blocks allows developers to register a custom block type from a functions.php file. From there they can create a field group and use any ACF fields in the block. Rendering the block is the same process that’s used for displaying custom fields, with the notable addition of wrapping the HTML + PHP in a function.

The ACF team plans to include the new blocks feature in version 5.8, which is anticipated to arrive in November.

Creating custom blocks in this way seems like a stopgap measure for developers who haven’t had the time to learn how to extend Gutenberg before WordPress 5.0 arrives. This feature may be a useful abstraction for those who need to maintain their current workflow with ACF but it postpones the inevitable for developers who want to be truly proficient at extending the new editor. JavaScript skills will be required to properly understand what is going on under the hood.


photo credit: Adabo! 3d printed tetris blocks – (license) Advanced Custom Fields is now actively testing its new block creation feature in ACF 5.8 beta 1, released this week. ACF Blocks is a feature aimed at PHP developers who have not taken the deep dive into JavaScript yet. It essentially offers a shortcut to creating custom blocks using PHP and HTML instead of JavaScript. “We believe that ACF Blocks is one of the more important features ever added to our plugin,” ACF representative Eric Karkovack said. “It levels the playing field and allows more developers to take advantage of Gutenberg’s…

Source: WordPress

Related Post
BuddyPress: BuddyPress 4.3.0 Security and Maintenance Release

BuddyPress: BuddyPress 4.3.0 Security and Maintenance Release BuddyPress 4.3.0 is now available. This is a security and maintenance release. All BuddyPress installations are strongly encouraged to upgrade as soon as possible. The 4.3.0 release addresses nine security issues: A privilege escalation vulnerability was fixed that could allow users to “favorite” activity items to which they […]

Read more
WPTavern: Clean Blocks: A Free Multipurpose WordPress Theme Compatible with Gutenberg

WPTavern: Clean Blocks: A Free Multipurpose WordPress Theme Compatible with Gutenberg Clean Blocks is a new free theme from Catch Themes that was released last week on WordPress.org. The design is suitable for businesses, agencies, freelancers, and other service professionals who require featured content, a portfolio, testimonials, a blog, and a services section. Clean Blocks […]

Read more
WPTavern: Laraberg, a Gutenberg Implementation for Laravel, is Now in Beta

WPTavern: Laraberg, a Gutenberg Implementation for Laravel, is Now in Beta The family of Gutenberg derivatives is expanding with the beta release of Laraberg, an implementation for Laravel. Maurice Wijnia, a developer at Van Ons, an agency based in Amsterdam, created Laraberg as an easy way for developers building applications with Laravel to integrate the […]

Read more