Title: Theme Mentor
Author: Mario Peshev
Published: <strong>2013 年 2 月 16 日</strong>
Last modified: 2020 年 2 月 12 日

---

搜尋外掛

![](https://ps.w.org/theme-mentor/assets/banner-772x250.png?rev=2243127)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/theme-mentor/assets/icon-128x128.png?rev=2243127)

# Theme Mentor

 由 [Mario Peshev](https://profiles.wordpress.org/nofearinc/) 開發

[下載](https://downloads.wordpress.org/plugin/theme-mentor.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/theme-mentor/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/theme-mentor/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/theme-mentor/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/theme-mentor/#developers)

 [技術支援](https://wordpress.org/support/plugin/theme-mentor/)

## 外掛說明

Theme Mentor is a cousin of the Theme-Check plugin getting deeper into the code 
analysis.

It’s using different approaches to monitor for common problems regarding theme reviews
from the WordPress Theme Reviewers Team. It is prone to fault analysis, so use only
as a reference for improving your code base even further.

Currently supported validations:

 * Mark all tags in template files
 * Mark all tags in template files
 * Warn about query_posts() usage
 * capital_P_dangit control (disallow any WordPress spelling other than WordPress
   as is – that is WORDPRESS and WordPress, ugh)
 * wp_deregister_script(‘jquery’) is forbidden
 * wp_dequeue_script(‘jquery’) is forbidden
 * prevent global $data; call as a common troublemaker (props @pippinsplugins)

header.php specific

 * Make sure that wp_head is before
 * Ensure that wp_title(…) is called within and tags

footer.php specific

 * Make sure that wp_footer is before

## 螢幕擷圖

 * [[
 * Sample Theme Mentor validation test results
 * [[

## 安裝方式

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `theme-mentor` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Appearance -> Theme Mentor
 4. Pick a theme and start the test

## 常見問題集

  Why would I need this plugin?

The higher the quality of your theme’s code, the better the compatibility with the
core and the plugins out there.

  Should I also use Theme-Check?

It’s not required, but it’s highly recommended. Theme Mentor is the extra step of
notifying you for possible troubles with your code. Part of the remarks could be
irrelevant, but hey, better to have something to double check and confirm it’s working
than to miss obvious code troubles.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Theme Mentor〉的開發相關工作。

參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)

[將〈Theme Mentor〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/theme-mentor)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/theme-mentor/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/theme-mentor/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/theme-mentor/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/theme-mentor/)。

## 變更記錄

#### 0.1

 * A first release.
 * Tracking script/link tag presence, query_posts calls, and wp_head/wp_footer position
   in files

#### 0.2

 * Code refactor

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **6 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.9.13 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.2.24**
 *  語言
 * [English (US)](https://wordpress.org/plugins/theme-mentor/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[quality](https://tw.wordpress.org/plugins/tags/quality/)
   [review](https://tw.wordpress.org/plugins/tags/review/)[testing](https://tw.wordpress.org/plugins/tags/testing/)
   [theme](https://tw.wordpress.org/plugins/tags/theme/)
 *  [進階檢視](https://tw.wordpress.org/plugins/theme-mentor/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/theme-mentor/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/theme-mentor/reviews/)

## 參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/theme-mentor/)