[WordPress] 外掛分享: Frontend Debugger

首頁外掛目錄 › Frontend Debugger
WordPress 外掛 Frontend Debugger 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
3854 天前
最後更新
問題解決
WordPress 3.0.1+ v0.9.0 上架:2015-03-10

內容簡介

僅供開發使用!

顯示:

標頭
縮略圖
循環(內容)
頁腳
包含的模板部分
突出顯示腳本、鏈接和樣式元素

要刪除所有註冊的腳本和樣式,請在 URL 中加入 ?remove-scripts。所有這些腳本和樣式將作為 HTML 註釋列在頁腳的底部。這樣可以檢測到非 WordPress 腳本的印刷。

如果您不是管理員,請在 URL 中添加 ?view-source 以啟用前端調試器。

注意:此外掛使用正則表達式和 eval() 獲取當前的模板。

待辦事項:側邊欄,搜索表單。

小型控制面板包含:

標頭,縮略圖,循環,頁腳,已包含文件的錨點
行數的切換按鈕
換行的切換按鈕
顯示行結束的切換按鈕
腳本和樣式突出顯示按鈕

從第二次點擊 Highlight 按鈕開始循環(捲動)所有腳本和樣式。

控制面板的狀態保存在您的瀏覽器的 localStorage 中。

此外掛的開發在 GitHub 上進行。請通過傳送實現我的待辦事項的 PR 協作。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Frontend Debugger」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Only for development!
Displays:

Header
Thumbnails
The Loop (content)
Footer
Included template parts
Highlight script, link and style elements

To remove all registered scripts and styles add ?remove-scripts to the URL. All these scripts and styles will be listed at the bottom of the footer as HTML comment. This way it is possible to detect non-WordPress script printing.
If you are not an administrators add ?view-source to the URL to activate Frontend Debugger.
Notice: This plugin uses regular expressions and eval() to get the current template apart.
TODO: sidebar, search-form.
The mini control panel contains:

Header, Thumbnails, The Loop, Footer, Included files anchors
Toogle button for line numbers
Toggle button for line wrapping
Toggle button for showing line ends
Button for script and style highlighting

From the second click on the Highlight button loops through (scrolls to) all scripts and styles.
The control panel’s state is kept in your browser’s localStorage.
Development of this plugin goes on on GitHub. Please contribute by sending PR-s implementing my TODO-s.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon