Title: Page Detector &#8211; Check the template file of the current page
Author: Jose Mortellaro
Published: <strong>2022 年 8 月 18 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/page-detector/assets/banner-772x250.png?rev=2772113)

![](https://ps.w.org/page-detector/assets/icon-256x256.png?rev=2772113)

# Page Detector – Check the template file of the current page

 作者：[Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[下载](https://downloads.wordpress.org/plugin/page-detector.0.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/page-detector/#description)
 * [评价](https://cn.wordpress.org/plugins/page-detector/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/page-detector/#developers)

 [支持](https://wordpress.org/support/plugin/page-detector/)

## 描述

It detects what kind of page you are visiting, and also the template file that is
used. Useful for debugging and problem solving.

### How to check which kind of page you are visiting and the template that is used

 * Install and activate the plugin Page Detector
 * Visit the page
 * Right click => Inspect Elements => Console
 * See the information provided in the section “Page detector”

### How to check which files are called to build the page

If you also need to see all the files that are called to build the page, you need
to install also [Freesoul Deactivate Plugins](https://wordpress.org/plugins/freesoul-deactivate-plugins/).

Read the [FDP documentation](https://freesoul-deactivate-plugins.com/how-deactivate-plugiins-on-specific-pages/action-buttons/)(
action button n. 6) for more details.

## 评价

![](https://secure.gravatar.com/avatar/809db0a17fba9bbc5e4377329f568e46e1a3d3b5edd0fd9896dab5e7b0fe5a1a?
s=60&d=retro&r=g)

### 󠀁[Useful little plugin](https://wordpress.org/support/topic/useful-little-plugin-15/)󠁿

 [Hardeep Asrani](https://profiles.wordpress.org/hardeepasrani/) 2025 年 6 月 18
日

It’s one of those plugins that I use for 5 minutes before deactivating when debugging
issues on users’ websites but ends up saving me a lot of error_log. 🙂

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/page-detector/reviews/)

## 贡献者及开发者

「Page Detector – Check the template file of the current page」是开源软件。 以下
人员对此插件做出了贡献。

贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[帮助将「Page Detector – Check the template file of the current page」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/page-detector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/page-detector/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/page-detector/)，或通过[RSS](https://plugins.trac.wordpress.org/log/page-detector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/page-detector/)。

## 更新日志

#### 0.0.2

*Added: plugin action link to backend page to explain how it works

#### 0.0.1

*Initial release

## 额外信息

 *  版本 **0.0.2**
 *  最后更新：**3 周前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/page-detector/)
 * 标签
 * [debugging](https://cn.wordpress.org/plugins/tags/debugging/)
 *  [高级视图](https://cn.wordpress.org/plugins/page-detector/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/page-detector/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/page-detector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/page-detector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/page-detector/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/page-detector/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/page-detector/reviews/)

## 贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/page-detector/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/josem)