前言介紹
- 這款 WordPress 外掛「Timber」是 2013-07-08 上架。
- 目前有 30000 個安裝啟用數。
- 上一次更新是 2024-04-11,距離現在已有 388 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.3.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.2.5 以上。
- 有 71 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
twig | templates | template engine |
內容簡介
Timber 讓您能使用更持久的程式碼更快速地建立自訂 WordPress 佈景主題。透過 Timber,您可以使用 Twig Template Engine 撰寫 HTML,這可與您的 PHP 檔案分離。這樣有助於整理您的佈景主題程式碼,例如,您的 PHP 檔案就可以專注於資料/邏輯運算,而 Twig 檔案可以百分之百專注於 HTML 和顯示。
一旦 Timber 在您的外掛目錄中安裝和啟用,您的任何 WordPress 佈景主題都可以利用 Twig 和其他 Timber 功能的優勢。
想了解更多嗎?
專案網頁
Timber GitHub
尋找文件?
Timber 文件
Twig 參考資料(來自 SensioLabs)
Twig 是 Timber 動力的模板語言;如果您需要了解模板語言的背景,Twig 的首頁提供了簡介
影片教學
概觀/入門指南
需要支援嗎?
StackOverflow 可用於使用問題和疑難排解
GitHub 問題 可用於報告錯誤和問題
支援
請在 StackOverflow 上按照 “Timber” 標籤發佈。請僅在特定的錯誤、功能請求和其他問題上使用 GitHub 問題。
原文外掛簡介
With the upcoming release of Timber 2.0, we will not release a 2.0 version and beyond as a plugin, but only as a Composer package. We advise everyone to switch to the Composer based install as soon as possible.
You will find an extensive list with guides and the reasons why we are not going to release Timber 2.0 as a plugin anymore.
Switching to the Composer based version
Announcement: Dropping support for the plugin version of Timber
Guide: How do I switch over from the plugin version to the Composer based version of Timber?
Backstory: Why we are dropping support for the plugin in the first place
GitHub issue: Roadmap for Timber 2.0
Timber helps you create fully-customized WordPress themes faster with more sustainable code. With Timber, you write your HTML using the Twig Template Engine separate from your PHP files. This cleans up your theme code so, for example, your PHP file can focus on being the data/logic, while your Twig file can focus 100% on the HTML and display.
Once Timber is installed and activated in your plugin directory, it gives any WordPress theme the ability to take advantage of the power of Twig and other Timber features.
Want to learn more?
Project Page
Timber on GitHub
Looking for Documentation?
Timber Documentation
Twig Reference (from SensioLabs)
Twig is the template language powering Timber; if you need a little background on what a template language is, Twig’s homepage has an overview
Video Tutorials
Overview / Getting Started Guide
Need support?
StackOverflow is for usage questions and troubleshooting
GitHub issues are for reporting bugs and errors
Support
Please post on StackOverflow under the “Timber” tag. Please use GitHub issues only for specific bugs, feature requests and other types of issues.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Timber」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.3.0 | 1.3.2 | 1.3.3 | 1.3.4 | 1.4.0 | 1.4.1 | 1.5.0 | 1.5.2 | 1.6.0 | 1.7.0 | 1.7.1 | 1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.9.0 | 1.9.1 | 1.9.2 | 1.9.3 | 1.9.4 | trunk | 0.10.2 | 0.10.3 | 0.10.4 | 0.10.5 | 0.10.6 | 0.10.7 | 0.11.0 | 0.12.0 | 0.12.1 | 0.12.2 | 0.13.0 | 0.13.5 | 0.14.0 | 0.14.1 | 0.15.0 | 0.15.1 | 0.15.2 | 0.15.3 | 0.15.5 | 0.16.0 | 0.16.1 | 0.16.2 | 0.16.3 | 0.16.4 | 0.16.5 | 0.16.6 | 0.16.7 | 0.16.8 | 0.17.0 | 0.17.1 | 0.17.2 | 0.18.0 | 0.18.1 | 0.19.0 | 0.19.1 | 0.19.2 | 0.20.0 | 0.20.1 | 0.20.2 | 0.20.3 | 0.20.4 | 0.20.5 | 0.20.6 | 0.20.7 | 0.20.8 | 0.20.9 | 0.21.0 | 0.21.1 | 0.21.2 | 0.21.3 | 0.21.4 | 0.21.5 | 0.21.6 | 0.21.7 | 0.21.8 | 0.21.9 | 0.22.0 | 0.22.1 | 0.22.2 | 0.22.3 | 0.22.4 | 0.22.5 | 0.22.6 | 1.1.10 | 1.1.11 | 1.1.12 | 1.10.0 | 1.11.0 | 1.12.0 | 1.13.0 | 1.14.0 | 1.15.0 | 1.15.1 | 1.15.2 | 1.16.0 | 1.17.0 | 1.18.0 | 1.18.1 | 1.18.2 | 1.19.0 | 1.19.1 | 1.19.2 | 1.20.0 | 1.21.0 | 1.22.0 | 1.22.1 | 1.23.0 | 1.23.1 | 0.20.10 | 0.21.10 | 1.1.7.1 |
延伸相關外掛(你可能也想知道)
Timber Debug Bar 》安裝完成後,Timber Debug Bar 提供了當前模板的名稱、在伺服器上的絕對位置,以及發送到模板的上下文(陣列)的完整內容。。
Clear cache for Timber 》這是一個小型的 WordPress 外掛程式,可以清除 Timber(一個在 WordPress 上使用 Twig 模板引擎的外掛程式)的快取。
ACF Timber Integration 》這個外掛程式是針對使用 Advanced Custom Fields 和 Timber 開發佈景主題的開發人員所設計。, 啟用這個外掛程式後,使用者定義的進階自訂欄位將會在 Timber c...。
Dataverse Integration 》這個外掛直接連接 WordPress 和 Dataverse (前稱 Common Data Service)、Dynamics 365 / CRM,為您的業務創建強大的門戶解決方案。, Dataverse (前稱 Common...。
Query monitor Twig profile 》查找緩慢的網頁,並發現原因!立即在您的 Query Monitor 工具欄中查看 twig 的分析信息。, Query Monitor 的 Twig profile 擴展可幫助您注意到頁面使用的模板...。
Editor for Timber 》功能特色, , 為可配置的文章類型添加元框,以建立並編輯 Twig 模板, 為 WP 主題和外掛程式編輯器添加 Twig 支援, , 甚至可以自訂 CodeMirror 主題, , , , 外...。
TwigPress 》本外掛可為你提供使用Twig模板引擎與WordPress主題的簡便方法。WordPress主題的一個問題是創建混合了PHP和HTML的模板非常容易。這對工作不好,也沒有關注分離...。
Content Template Engine 》此外掛讓你在 WordPress 內容中使用Twig 模板引擎。, 你可以在文章或頁面中使用 Twig 模板。, {% if post.my_custom_field %}, Hello {{ post.my_custom_...。
Remote Snippets 》在您的 WordPress 網站上顯示從 JSON API 或 Web 服務中取得的即時數據, 使用此外掛程式,您可以從外部來源中以 JSON 或 CSV 格式獲取數據。, 然後,您可以使...。
WordPress Symfony2 Wedlock 》這個外掛允許將 Symfony2 元件集成到 WordPress 中。需要 PHP5.3,但不是強制性的。, 我強烈建議您在提出任何問題之前閱讀這篇文章。, 捐款, 請考慮捐款以更...。
Twigify 》這個外掛使用TWIG建立模板系統,您可以在WordPress管理介面中進行管理。不再需要為每個內容類型或上下文創建數十個模板文件。模板可以應用於每個頁面或文章,...。