All Projects → palmiak → Timber Acf Wp Blocks

palmiak / Timber Acf Wp Blocks

Licence: mit
Create Gutenberg blocks from Twig templates and ACF fields.

Projects that are alternatives of or similar to Timber Acf Wp Blocks

Laravelresources
Speed Up package development for Laravel Apps with API's
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Tiingo Python
Python REST Client for interacting with the Tiingo Financial Data API
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Electricitymap Contrib
A real-time visualisation of the CO2 emissions of electricity consumption
Stars: ✭ 2,138 (+1288.31%)
Mutual labels:  hacktoberfest
Dicom Rs
Pure Rust implementation of the DICOM standard
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Adessentials
PowerShell Active Directory helper functions to manage healthy Active Directory
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Go Dash
A Go library for generating MPEG-DASH manifests.
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Logrus Logstash Hook
ℹ️ Logstash hook for logrus
Stars: ✭ 150 (-2.6%)
Mutual labels:  hacktoberfest
Moose
Official repository for Moose
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Mic over mumble
Use Android/iOS device as your PC's remote microphone, using Mumble + Plumble. Or use microphone of one PC on other PC. Linux-only script
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Android
DuckDuckGo Android App
Stars: ✭ 2,290 (+1387.01%)
Mutual labels:  hacktoberfest
Ember Shepherd
An Ember addon for the site tour library Shepherd
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Wiz light
A WiZ Light integration for Home Assistant
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Pully
A simple CLI and library for downloading high quality YouTube videos!
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Cover Image Generator
📕 Generate a cover image for your blog post 📝 https://blogcover.now.sh/
Stars: ✭ 152 (-1.3%)
Mutual labels:  hacktoberfest
Rot.js
ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
Stars: ✭ 2,002 (+1200%)
Mutual labels:  hacktoberfest
Bhoptimer
A bunnyhop timer plugin for Counter-Strike: Source, Counter-Strike: Global Offensive and Team Fortress 2.
Stars: ✭ 151 (-1.95%)
Mutual labels:  hacktoberfest
Plotkicadsch
This project aims at being able to export Kicad Sch files to structured picture files
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Flutterresources
A list of Flutter resources that will help people get started with Flutter
Stars: ✭ 154 (+0%)
Mutual labels:  hacktoberfest
Plasma
Cyan Worlds's Plasma game engine
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest
Meteor Partitioner
Transparently divide a single meteor app into several different instances shared between different groups of users.
Stars: ✭ 153 (-0.65%)
Mutual labels:  hacktoberfest

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:

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: 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
#}

<blockquote data-{{ block.id }}>
    <p>{{ fields.testimonial }}</p>
    <cite>
      <span>{{ fields.author }}</span>
    </cite>
</blockquote>

<style type="text/css">
  [data-{{ block.id }}] {
    background: {{ fields.background_color }};
    color: {{ fields.text_color }};
  }
</style>

Timber 2.0

Timber ACF WP Blocks is fully compatible with both Timber 1.x and Timber 2.x versions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].