Need help with timber-acf-wp-blocks?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

palmiak
175 Stars 16 Forks MIT License 94 Commits 13 Opened issues

Description

Create Gutenberg blocks from Twig templates and ACF fields.

Services available

!
?

Need anything else?

Contributors list

# 136,731
WordPre...
multisi...
PHP
CSS
64 commits
# 10,439
WordPre...
Laravel
php7
woocomm...
2 commits

Timber ACF WP Blocks

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.

Complete documentation

Read the complete documentation

Contributors

This plugin is build with help of contributors: - roylodder - BrentWMiller - Marcin Krzemiński - Kuba Mikita - LandWire - Viktor Szépe

Creating blocks

Add twig templates to

views/blocks
which 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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.