
內容簡介
此外掛讓你在 WordPress 內容中使用Twig 模板引擎。
你可以在文章或頁面中使用 Twig 模板。
{% if post.my_custom_field %}
Hello {{ post.my_custom_field }}!
{% endif %}
更多資訊請見:
文件
GitHub
特色
在 WordPress 內容中啟用Twig模板引擎。
可以在模板中使用文章元數據。
支援進階自訂欄位和可重複內容欄位。
保全安全性!
可以限制使用者按寫模板。
自動轉換特殊字元。
提供 WordPress 的自定義過濾器。 請參閱。
提供 WordPress 的自定義函數。 請參閱。
需求
PHP 5.3 或以上版本
WordPress 4.3 或以上版本
外掛標籤
開發者團隊
原文外掛簡介
This plugin enables Twig template engine in the WordPress contents.
You can write Twig template in your posts/pages.
{% if post.my_custom_field %}
Hello {{ post.my_custom_field }}!
{% endif %}
See more information:
Documentation
GitHub
Features
It enables Twig template engine in your WordPress contents.
You can use post meta data in your template.
Advanced custom fields and Repeater Field ready.
Secure!
You can restrict users to write template.
Automatic escaping is enabled.
There are custom filters for WordPress. See also.
There are custom functions for WordPress. See also.
Reuqires
PHP 5.3 or later
WordPress 4.3 or later
