[WordPress] 外掛分享: Theme Check

WordPress 外掛 Theme Check 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Theme Check」是 2018-06-08 上架。
  • 目前有 30000 個安裝啟用數。
  • 上一次更新是 2023-12-20,距離現在已有 501 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.7 以上版本才可以安裝。
  • 有 195 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

poena | pross | kafleg | otto42 | acosmin | joyously |

外掛標籤

themes | guidelines | wordpress.org |

內容簡介

主題檢查外掛是測試您的佈景主題並確保其符合最新 主題審查 標準的一種簡單方法。透過此外掛,您可以運行 WordPress.org 用於主題提交的所有自動化測試工具。

這些測試通過一個簡單的管理員選單運行,所有測試結果一次顯示。這對於佈景主題開發人員或任何希望確保其主題支持最新 WordPress 主題標準和實踐的人非常方便。

如何啟用 Trac 格式

主題審查團隊在審查主題時使用此外掛並將其輸出複製粘貼到 Trac 票中,Trac 系統有自己的標記語言。
要在 Theme-Check 中啟用 Trac 格式,您需要在 wp-config.php 中定義幾個變量:TC_PRE 和 TC_POST 用作票頭和票尾。
例如:

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 -themes IRC channel on Freenode.' );

如果已經定義了這兩個變量中的任何一個,就會出現一個新的 Trac 核取方塊,靠近 Check it! 按鈕。

原文外掛簡介

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 Theme Review 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 -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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Theme Check」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


trunk | 20210617 | 20210921 | 20211203 | 20220929 | 20230412 | 20230417 | 20231220 | 20190208.1 | 20190801.1 | 20200612.1 | 20200731.1 | 20200922.1 |

延伸相關外掛(你可能也想知道)

  • YITH WooCommerce Catalog Mode 》H WooCommerce Catalog Mode外掛描述:, , 您是否有興趣展示產品或服務目錄,但暫時不希望讓它們立即上架出售?, 您是否正在進行盤點,但仍希望將產品保留在...。
  • Advanced Automatic Updates 》Advanced Automatic Updates 為 WordPress 內建的自動更新功能添加了額外的選項。除了安全更新外,它還支持安裝重大版本、外掛、主題甚至是定期的 SVN 檢出!...。
  • Theme Authenticity Checker (TAC) 》掃描所有主題文件,尋找潛在的惡意或不需要的程式碼。, TAC 是什麼, TAC 代表主題真實性檢查器。TAC 搜尋每個安裝主題的原始檔案,尋找惡意程式碼的跡象。如...。
  • SKT Templates – 100% free Elementor & Gutenberg templates 》, SKT Templates 是一個可以在 Elementor 和 Gutenberg 主題庫中挑選超過上百款模板的外掛,只需要瀏覽 Demo 畫面,挑選適合的模板後點擊匯入並安裝即可。它...。
  • Multiple Themes 》重要提示:支援服務已移至 ZATZLabs 網站,不再於 WordPress.org 論壇提供。如需開發者迅速回覆,請提交請求單。, 此外掛設定提供多種選擇方式,可讓您選擇要...。
  • Demo Importer Plus 》Demo Importer Plus 是最佳和強大的演示內容導入外掛之一。它允許您輕鬆地通過單擊一個按鈕來導入演示內容、小工具、定制器設置以及主題設置。, 除此之外,您...。
  • Hello Plus 》**總結:**, Hello+ 是一個免費的 WordPress 外掛,專為與 Elementor 的 Hello Themes(例如 Hello Biz)無縫合作而設計。它提供了堅固的基礎,讓使用者可以...。
  • WP-LESS 》LESS 是一種基於 CSS 的樣板語言。它提供了許多增強功能,以加速開發並使維護更容易。, 主題開發人員甚至可以捆綁該外掛而不用擔心衝突:只需包含特殊的 boot...。
  • Create Block Theme 》此外掛讓您可以:, – 建立新主題、空白主題、子主題或風格變化。, – 列出並預覽嵌入您佈景中的字型家族和字型樣式。, – 嵌入 Google...。
  • Theme Test Drive 》Theme Test Drive WordPress外掛程式允許您以管理員身份安全地在您的部落格上測試任何佈景主題,而訪客仍然使用預設佈景主題。, 這樣做是完全透明的,他們甚...。
  • Child Themify 》使用一個按鈕從任何非子佈景主題建立子佈景主題。, 此外掛程式支援多站點,若在多站點網路中使用,在網路管理員中會顯示建立子佈景主題的選項控制項,而非一...。
  • WP Theme Test 》該外掛可讓僅登入的使用者更改和顯示主題。, 當您測試新主題時,網站訪客則會看到您的舊主題。, 僅 WordPress 網站管理員可以安全地看到新主題並進行測試。, ...。
  • YITH Custom Login 》安裝這個外掛,改變 WordPress 登入的預設風格。為您的網站登入頁面設置漂亮的風格,並根據您的風格進行自定義!, 完整的文檔在這裡提供。, 安裝, 一旦您安裝...。
  • Export Themes 》這個外掛讓你能夠將主題以 .zip 檔案匯出,然後利用 WordPress 的「上傳」功能,在其他伺服器上安裝相同的主題。, 使用方式, 安裝完外掛後,你需要進入「外觀...。
  • Download Theme 》, 啟用此外掛。, 在外觀頁面的每個主題方塊上可以看到下載連結。, 點擊其中任何一個,該主題的壓縮檔將下載到您的電腦上。, 祝賀!, , 下載外掛, 如果您想要...。

文章
Filter
Apply Filters
Mastodon