
內容簡介
以下是該 WordPress 外掛的簡介:
此外掛能夠在 WordPress 管理員工具列中顯示目前使用的模板檔案以及關鍵頁面資訊,供已登入的管理員檢視。
此外掛無需設置步驟:只需安裝、啟用,就能在所有前端頁面看到資訊欄。
特色包括:
- 在前端管理工具列中顯示「📄 模板:」
- 滑鼠移動/點擊時顯示完整的模板路徑、文章 ID、文章類型、別名、佈景主題名稱和版本、語系、主體類別、查詢變數、條件、資料庫查詢次數、記憶體使用量等詳細資訊
- 無需設置頁面、無需配置
- 適用於傳統和區塊/FSE(全站編輯器)主題(對區塊主題提供特殊資訊)
- 開發者友善、輕量級、無臃腫
### 問題與答案:
1. 如何在前端管理工具列中觀看目前使用的模板檔案和頁面基本資訊?
- 安裝並啟用該 WordPress 外掛,即可在前端頁面看到資訊欄。
2. 透過滑鼠移動或點擊,能獲取哪些詳細資訊?
- 滑鼠移動或點擊時,能獲取完整的模板路徑、文章 ID、文章類型、別名、佈景主題名稱和版本、語系、主體類別、查詢變數、條件、資料庫查詢次數、記憶體使用量等詳細資訊。
3. 是否需要進行設置或配置?
- 這個外掛無需設置頁面或進行任何配置。
4. 該外掛適用於哪些主題?
- 它適用於傳統主題和區塊/FSE(全站編輯器)主題,並對區塊主題提供了特殊資訊。
外掛標籤
開發者團隊
原文外掛簡介
Displays the current template file and key page details in the WordPress admin bar for logged-in administrators.
No setup required: just install, activate, and see the info bar on any front-end page.
Features:
– Shows “📄 Template: ” in the front-end admin bar
– Details on hover/click: full template path, post ID, post type, slug, theme name & version, locale, body classes, query vars, conditionals, DB query count, memory usage, and more
– No settings page, no configuration
– Works with classic and block/FSE themes (special info for block themes)
– Developer-friendly, lightweight, no bloat
