WP Manifestindependent plugin directory
manifest / editor / timber-acf-wp-blocks-plugin

Timber ACF WP Blocks

Create Gutenberg blocks from Twig templates and ACF fields.

★ 0stars
4.4kcomposer installs
1.15latest · 5 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/palmiak/timber-acf-wp-blocks-plugin/archive/refs/heads/master.zip

On Packagist as palmiak/timber-acf-wp-blocks-plugin:

composer require palmiak/timber-acf-wp-blocks-plugin
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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

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:

{#
  Title:
  Description:
  Category:
  Icon:
  Keywords:
  Mode:
  Align:
  PostTypes:
  SupportsAlign:
  SupportsMode:
  SupportsMultiple:
  SupportsAnchor:
  EnqueueStyle:
  EnqueueScript:
  EnqueueAssets:
#}

Releases

1 release.

Tag
Published
1.15 latest
Jan 22, 2021 5 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.