前言介紹
- 這款 WordPress 外掛「Debug Bar Shortcodes」是 2013-12-21 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2016-04-30,距離現在已有 3291 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.6 以上版本才可以安裝。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
jrf |
外掛標籤
debugbar | debug bar | shortcodes | Debug Bar Shortcodes |
內容簡介
Debug Bar Shortcodes 新增一個面板至 Debug Bar,顯示當前請求所註冊的 shortcode。
此外,它還會顯示以下資訊:
由哪個函數/方法呼叫 shortcode
shortcode 是否在目前的文章/頁面/文章類型中使用,以及如何使用(僅當單一時顯示)
有關 shortcode 的任何其他可用資訊,例如說明,它帶有哪些參數,它是否是自動關閉符號短碼。
想要控制你自己 shortcode 的其他資訊顯示?你可以!請查看常見問題解答頁面了解更多資訊。
查找 shortcode 在哪些页面/文章/等使用
此外,此外掛與 LRH-Shortcode list 和 Shortcake/Shortcode UI 外掛兼容。由這些外掛提供的任何有關 shortcode 的其他資訊也會透過此外掛進行考虑和提供。
為什麼瞭解 shortcode 很有用?
我可以想到一些典型的用途:
如果您是部落格作者:
知道您可以在文章/頁面中使用哪些 shortcode。
如果您更換外掛或移除外掛,知道在哪些文章/頁面中需要移除/替換舊的 shortcode
如果您是網頁設計師/網站管理員:
如果您更換外掛或移除外掛,知道在哪些文章/頁面中需要移除/替換舊的 shortcode
知道您可以在主題檔案中使用哪些 shortcode。
避免網站特定 shortcode 名稱的衝突。
如果您是開發人員:
避免與其他外掛/主題註冊的 shortcode 名稱衝突。
檢查您的 shortcode 是否正確註冊以及條件是否正確應用。
重要提示
此外掛需要安裝並啟用 Debug Bar 外掛。
感謝
其他資訊功能靈感來自於 LRH-Shortcode list 和 Shortcode reference。
搜索整個網站中 shortcode 使用的靈感來自於 TR All Shortcodes
如果您喜歡此外掛,請評分和/或評論。如果您對更好的外掛意見或有任何錯誤,請在支援論壇或GitHub 儲存庫中報告。
原文外掛簡介
Debug Bar Shortcodes adds a new panel to the Debug Bar that displays the registered shortcodes for the current request.
Additionally it will show you:
Which function/method is called by the shortcode
Whether the shortcode is used on the current post/page/post type and how (only when on singular)
Any additional information available about the shortcode, such as a description, which parameters it takes, whether or not it is self-closing.
Want to control the additional information displayed about your own shortcodes ? You can! See the FAQ for more info.
Find out all pages/posts/etc on which a shortcode is used
This plugin is compatible with the LRH-Shortcode list and the Shortcake/Shortcode UI plugins. Additional information about a shortcode provided to these plugins will be taken into account and made available through this plugin too.
Why is it useful to have insight into the shortcodes ?
There are a number of typical uses I can think of:
If you are a blog author:
to know which shortcodes you can use in your posts/pages.
if you switch plugins or remove a plugin, to know in which posts/pages you need to remove/replace old shortcodes
If you are a web designer / web master:
if you switch plugins or remove a plugin, to know in which posts/pages you need to remove/replace old shortcodes.
to know which shortcodes you can use in theme files.
to avoid name conflicts for website specific shortcodes.
If you are a developer:
to avoid name conflicts with shortcodes registered by other plugins/themes.
to check whether your shortcode registers properly and whether the conditionals are applied correctly.
Important
This plugin requires the Debug Bar plugin to be installed and activated.
Credits
The additional information functionality is inspired by LRH-Shortcode list and Shortcode reference.
The finding of shortcode uses throughout the site is inspired by TR All Shortcodes
If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Debug Bar Shortcodes」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 2.0 | 1.0.1 | 1.0.2 | 1.0.3 | 2.0.1 | 2.0.2 | 2.0.3 | trunk |
延伸相關外掛(你可能也想知道)
Query Monitor – The developer tools panel for WordPress 》ministrator user). This cookie can be set by defining QM_AUTH_KEY in your wp-config.php file., To learn more about how to use Query Monitor, please...。
Debug Bar Rewrite Rules 》Debug Bar Rewrite Rules 外掛能將透過篩選條件改變的 Rewrite Rules 的相關資訊新增至 Debug Bar 的一個新面板中。此外掛是 Debug Bar 的擴充套件,但也可以...。
Black Bar 》Black Bar 是一個專為 WordPress 開發人員設計的低調的偵錯列(Debug Bar)。它收集並顯示錯誤、執行的 SQL 查詢、緩慢的動作和掛鈎、主題模板、全域變數,並...。
ElasticPress Debugging Add-On 》此外掛會在Debug Bar外掛新增一個ElasticPress面板,讓您可以檢視在每次請求時執行的所有ElasticPress查詢。, 需求條件:, , ElasticPress 3.0+, Debug Bar 1...。
Debug-Bar-Extender 》這個外掛為偵錯列(debug-bar)增加了更多功能,主要針對開發者喜歡除錯(debug)程式碼的人,或測量執行時間以找出程式碼中的錯誤。, 它還允許通過在源代碼中添...。
Debug Bar Cron 》Debug Bar Cron 將 WP 計劃事件的相關資訊加入 Debug Bar 的新面板中。此外掛為 Debug Bar 的擴展,因此必須安裝 Debug Bar 才能正常運作。, 安裝完成後,您...。
Debug Bar Actions and Filters Addon 》這個外掛將會在 Debug Bar 中新增兩個選項卡,以顯示當前請求所連結的鉤子 (Actions and Filters)。Actions 選項卡顯示當前請求所連接的鉤子。Filters 選項卡...。
BugFu Console Debugger 》使用瀏覽器控制台(不需要擴充)將您的佈景主題/外掛 PHP 代碼記錄/除錯。專為佈景主題和外掛開發人員製作。, 如何檢查 BugFu 是否運作, 打開您的瀏覽器控制...。
Debug Bar List Script & Style Dependencies 》我們都知道在 WordPress 中添加 script 或 style 時,我們應該使用 wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ) 和 wp_enqueue_style( $ha...。
BlackBox Debug Bar 》BlackBox 是像 Symfony 的非侵入式除錯工具列,附加在瀏覽器視窗的頂端。, 它如何協助您開發:, 1. 即時檢視全域變數(GET、POST、COOKIE、SERVER), 2. 除錯...。
Debug Bar Transients 》Debug Bar Transients(偵錯條快取)在偵錯條中新增一個面板,顯示有關 WordPress 快取(transients)的資訊。這個外掛是 Debug Bar 的擴充功能,因此需要安...。
Debug Bar Post Types 》Debug Bar Post Types為Debug Bar(除錯工具欄)新增一個面板,可顯示有關您網站已註冊的文章類型的詳細信息。, 注意, 使用此外掛程式需要安裝並啟用Debug Ba...。
Debug Bar Constants 》Debug Bar Constants 外掛在 Debug Bar 中增加了三個面板,顯示當前請求中作為開發者可用的定義常數:, , WP 常數, WP 類別常數, PHP 常數, , 重要提示, 此外...。
Debug Bar Rewrite Rules 》顯示網站當前的重新導向規則。需要安裝 Debug Bar 外掛。。
Debug Bar Taxonomies 》Debug Bar Taxonomies 外掛為 Debug Bar 新增了一個面板,可顯示您網站所註冊的分類詳細資訊。, 重要提醒, 您必須先安裝並啟用 Debug Bar 外掛,才能使用本外...。