[WordPress] 外掛分享: Template File Name Debugger

首頁外掛目錄 › Template File Name Debugger
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
3499 天前
最後更新
問題解決
WordPress 3.0.1+ v0.1 上架:2016-08-17

內容簡介

這個外掛將產生 HTML 頁面的樣板(主題)檔案名稱和路徑加入到頁面的 HTML 註解中。如果包含頁首、頁尾和側邊欄的話,它也會將它們的名稱加入註解中。
這對於除錯和查看生成頁面的樣板文件非常有用。
啟用外掛後,重新載入任何開啟的頁面。在 HTML 註解中,可以搜尋“TEMPLATE INFO”以查看包含樣板檔案名稱的新增註解。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Template File Name Debugger」→ 直接安裝(推薦)

原文外掛簡介

This plugin adds the name and path of the theme (template) file used to generate the html page into the page’s source as a comment. It will also add the name of the header, footer and sidebar if they are included.
This is useful for debugging and seeing what template file generated a page.
To use, activate, then reload any open pages. In the HTML comments, you can search for “TEMPLATE INFO” to see the added comments with the names of the template files included.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon