Title: Simple Debug Info Panel
Author: Senff - a11n
Published: <strong>2015 年 4 月 10 日</strong>
Last modified: 2026 年 1 月 14 日

---

搜尋外掛

![](https://ps.w.org/simple-debug-info-panel/assets/banner-772x250.png?rev=1132125)

![](https://ps.w.org/simple-debug-info-panel/assets/icon-256x256.png?rev=1132125)

# Simple Debug Info Panel

 由 [Senff – a11n](https://profiles.wordpress.org/senff/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-debug-info-panel.1.0.2.zip)

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

 [技術支援](https://wordpress.org/support/plugin/simple-debug-info-panel/)

## 外掛說明

#### Summary

Simple Debug Info Panel for WordPress will enable you to instantly see some “under-
the-hood” debugging info for your site. With one click (or none at all), you can
see which template is being used, what the post/page ID is, the current screen/viewport
size, any categories a post is assigned to, and some more.

Every item’s visibility can be turned on or off, so you have complete control over
what will be shown in the infobox.

#### Features

 * **Shows template information**: see which template is being used for any page
   you’re looking at.
 * **Shows post/page ID**: gives you the internal WordPress ID of the current post/
   page.
 * **Categories/tags**: shows relevant categories and tags of the post/page (if 
   they are not displayed on the page itself).
 * **Screensize indicator**: shows the viewport size, updates in real time (so you
   can figure out why styles within a certain media query are applied or not).
 * **Turn on/off which information you want to see**: you can choose whatever you
   want the infobox to show.
 * **Positioning of box**: choose placement of the box from 4 options (top left,
   top right, bottom left, bottom right)
 * **Default shows or hides**: choose whether infobox should be open or closed/minimized
   by default
 * **Admin Only-mode**: make infobox only visible on the front end to users logged
   in with admin rights.

## 螢幕擷圖

 * [[
 * Settings screen
 * [[
 * Infobox

## 安裝方式

 1. Upload the “simple-debug-info-panel” directory to your “wp-content/plugins” directory
 2. In your WordPress admin, go to PLUGINS and activate “Simple Debug Info Panel”
 3. Go to SETTINGS – SIMPLE DEBUG INFO PANEL
 4. Select the items you want to see in the infobox on the site
 5. Party!

## 常見問題集

### Some of my site pages don’t seem to have an ID, why not?

Within the WordPress structure, only POSTS and PAGES have IDs (including Custom 
Post Types). Archive pages simply don’t. Any page that lists more than one post/
page (or excerpts of those) is considered an archive page. Examples are date archives,
author archives, category archives, tag archives, search results, etc.

### The screen size dimensions don’t seem right. What up?

It’s possible that the dimensions shown in the info box are larger than the actual
width/height of the page. However, keep in mind that the dimensions displayed are
INCLUDING the scrollbar(s). So, if the page has a scrollbar on the right, and the
contents are 700 pixels wide, the infobox will say it’s 716 or so.

Why? Because media queries also take the scrollbar into consideration when calculating
width. If there’s a media query breakpoint set at (say) 700 pixels, this point will
be met when the contents of the body are actually around 684 pixels, because the
screen itself is 684 plus 16 for the scrollbar = 700. Since the scrollbar-included
dimensions of the page are important when it comes to responsive design, the dimensions
in the infobox also include the scrollbar — very relevant to any media queries.

### Is it possible to open/close the infobox and then keep the same state when I navigate to another page (without having to change something in the plugin’s settings)?

No, not in the current version. I’ll check if that can be done easily in a future
version.

### I’ll need more help please!

The plugin’s own page can be found [here](http://www.senff.com/plugins/simple-debug-info-panel).
If that still doesn’t help you solve your issue, please do NOT file a bug through
the form on my website, but instead go to the plugin’s [WordPress.org support forum](https://wordpress.org/support/plugin/simple-debug-info-panel).

### I’ve noticed that something doesn’t work right, or I have an idea for improvement. How can I report this?

It’s very possible, or even likely, that something’s not right; I can only do so
much testing and it’s impossible to test the plugin with every single theme out 
there, so there’s a good chance that it will have some issues with themes that I
haven’t tested. Please report any bugs on the plugin’s [WordPress.org support forum](https://wordpress.org/support/plugin/simple-debug-info-panel).

## 使用者評論

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

### 󠀁[Great](https://wordpress.org/support/topic/great-4024/)󠁿

 [needmoredesigns](https://profiles.wordpress.org/needmoredesigns/) 2016 年 9 月
3 日

The plugin is simple and it is perfect.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/simple-debug-info-panel/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Simple Debug Info Panel〉的開發相關工作。

參與者

 *   [ Senff – a11n ](https://profiles.wordpress.org/senff/)

[將〈Simple Debug Info Panel〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-debug-info-panel)

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

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

## 變更記錄

#### 1.0.2

 * Adjusted some code to better adhere to plugin standards.

#### 1.0.1

 * Compatibility update

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **4 個月前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 3.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-debug-info-panel/)
 * 標籤:
 * [debug](https://tw.wordpress.org/plugins/tags/debug/)[info](https://tw.wordpress.org/plugins/tags/info/)
   [panel](https://tw.wordpress.org/plugins/tags/panel/)[simple](https://tw.wordpress.org/plugins/tags/simple/)
   [templates](https://tw.wordpress.org/plugins/tags/templates/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-debug-info-panel/advanced/)

## 評分

 5 星，滿分為 5 星

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

[Your review](https://wordpress.org/support/plugin/simple-debug-info-panel/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/simple-debug-info-panel/reviews/)

## 參與者

 *   [ Senff – a11n ](https://profiles.wordpress.org/senff/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-debug-info-panel/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://donate.senff.com)