[WordPress] 外掛分享: Content Template Engine

首頁外掛目錄 › Content Template Engine
WordPress 外掛 Content Template Engine 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
★★★★★
5/5 分(1 則評價)
3618 天前
最後更新
問題解決
WordPress 4.3+ v0.9.4 上架:2015-09-04

內容簡介

此外掛讓你在 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 或以上版本

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Content Template Engine」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Mastodon