palmiak/timber-acf-wp-blocks
关于
Create Gutenberg blocks from Twig templates and ACF fields.
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
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.
How can I report security bugs?
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage, and handle any security vulnerabilities. Report a security vulnerability.
探索相关项目
加载中…