Create Gutenberg blocks from Twig templates and ACF fields.
Generate ACF Gutenberg blocks just by adding templates to your Timber theme. This package is based heavily on this article by nicoprat and the plugin by MWDelaney.
Read the complete documentation
This plugin is build with help of contributors: - roylodder - BrentWMiller - Marcin Krzemiński - Kuba Mikita - LandWire - Viktor Szépe
Add twig templates to
views/blockswhich get and use ACF data. Each template requires a comment block with some data in it: ```twig {# Title: Testimonial Description: Customer testimonial Category: formatting Icon: admin-comments Keywords: testimonial quote "customer testimonial" Mode: edit Align: left PostTypes: page post SupportsAlign: left right SupportsMode: false SupportsMultiple: false
{{ fields.testimonial }}
{{ fields.author }}
## Timber 2.0 **Timber ACF WP Blocks** is fully compatible with both **Timber 1.x** and **Timber 2.x** versions.