[WordPress] 外掛分享: Theme Check

首頁外掛目錄 › Theme Check
WordPress 外掛 Theme Check 的封面圖片
20,000+
安裝啟用
★★★★
4.8/5 分(195 則評價)
13 天前
最後更新
0%
問題解決
WordPress 3.7+ v20260901 上架:2018-06-08

內容簡介

Theme Check 外掛提供簡便的方式來測試您的佈景主題,確保其符合最新的佈景主題審查標準。透過此外掛,您可以運行 WordPress.org 用於佈景主題提交的自動化測試工具,幫助開發者確認佈景主題的合規性。

【主要功能】
• 自動化測試佈景主題的合規性
• 顯示所有測試結果於簡單的管理選單
• 支援最新的 WordPress 佈景主題標準
• 方便佈景主題開發者使用
• 提供 trac 格式化功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v20260901) 或搜尋安裝

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

原文外掛簡介

The theme check plugin is an easy way to test your theme and make sure it’s up to spec with the latest theme review standards. With it, you can run all the same automated testing tools on your theme that WordPress.org uses for theme submissions.
The tests are run through a simple admin menu and all results are displayed at once. This is very handy for theme developers, or anybody looking to make sure that their theme supports the latest WordPress theme standards and practices.
How to enable trac formatting
The Themes Team use this plugin while reviewing themes and copy/paste the output into trac tickets, the trac system has its own markup language.
To enable trac formatting in Theme-Check you need to define a couple of variables in wp-config.php: TC_PRE and TC_POST are used as a ticket header and footer.
For example:
define( 'TC_PRE', 'Theme Review:[[br]]
- Themes should be reviewed using "define(\'WP_DEBUG\', true);" in wp-config.php[[br]]
- Themes should be reviewed using the test data from the Theme Checklists (TC)
-----
' );

define( 'TC_POST', 'Feel free to make use of the contact details below if you have any questions,
comments, or feedback:[[br]]
[[br]]
* Leave a comment on this ticket[[br]]
* Send an email to the Theme Review email list[[br]]
* Use the #wordpress-themes IRC channel on Freenode.' );

If either of these two vars are defined a new trac tickbox will appear next to the Check it! button.

延伸相關外掛

文章
Filter
Mastodon