[WordPress] 外掛分享: Shortcodes In Use

WordPress 外掛 Shortcodes In Use 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Shortcodes In Use」是 2014-11-15 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2016-01-26,距離現在已有 3386 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.8 以上版本才可以安裝。
  • 有 8 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

wizzud |

外掛標籤

find | tool | admin | locate | shortcode |

內容簡介

無法回憶某個短代碼是否已被使用?
想要移除一個外掛,但不確定它是否提供短代碼或者是否正在使用短代碼?
不知道 WordPress 附帶了哪些短代碼?
找到了一个未知的短代碼,但不確定還有沒有其他未知的短代碼?
需要更換佈景主題,但不知道是否正在使用短代碼?
想要使用特定的短代碼,但不確定它的確切名稱?
需要更改一個短代碼的所有出現次數的參數?

這是一個簡單的管理工具,可以列出文章內容、自訂欄位和小工具設定中的短代碼出現次數。
您可以選擇或搜尋特定的短代碼,並可以按提供者、位置或文章類型進行篩選。
這個工具旨在幫助管理員/編輯者找到使用了哪些短代碼,以便進行更新、重命名、刪除或其他操作。

功能包括:

搜尋用於匹配短代碼標籤的字串—使用空格或逗號作為多個搜尋字串之間的分隔符號。
按短代碼提供者的類型進行篩選—它是由外掛、您的佈景主題,WordPress 內部(例如)提供的,還是未知的(可能是一個未啟用/已刪除的外掛?)。
按特定提供者進行篩選—例如一個命名的外掛。
按任意數量的特定、已識別的短代碼進行篩選。
篩選搜尋短代碼的地方—文章內容、文章元數據(自訂欄位)或小工具等。
按包含短代碼的文章類型進行篩選。
在結果中包括(相關和可用的):小工具名稱和側邊欄,或鏈接的文章標題和文章類型;短代碼及其參數;短代碼提供者(WordPress、外掛、佈景主題或未知),以及它的位置。
有自己的短代碼,在非管理後台時使用。

它不會:

提供任何有關任何短代碼做什麼或如何使用/配置的見解。
不查看自訂表、佈景主題選項、類型。

如果您喜歡這個外掛程式(或者您不喜歡?),請考慮花一兩分鐘時間
撰寫評論:它能幫助他人,並給予我有價值的反饋。

短代碼

這個外掛程式的短代碼是...

[shortcodes_in_use/]

...並且輸出僅限於具有 edit_posts 能力的使用者。

可用的屬性與工具中的選項相同,每個屬性都是一個篩選器。
將所有可能值設置為一個屬性的方式與省略該屬性相同。

不同的篩選器是 ANDed,即指定 provider="wordpress" post_type="page" 將篩選結果限制為頁面中由 WordPress 核心提供的短代碼標籤。
在篩選器內有多個值的話是 ORed,即指定 post_type="post page" provider="wordpress"
將篩選結果限制為 WordPress 自己的短代碼標籤,在文章或頁面中兩者都有。

在管理後台運行工具時,所選選項的等效短代碼位於結果末尾。
此外,已消毒短代碼在短代碼輸出的頂部重複一次。

search (string):空格或逗點被解釋為分隔符,因此...

原文外掛簡介

Can’t recall where, or if, you’ve used a certain shortcode?
Want to remove a plugin and unsure if it provides shortcodes or whether you’re using them?
Don’t know what shortcodes come with WordPress?
Found one unrecognised shortcode but unsure where there might be others?
Need to swap out a theme and don’t know if it has shortcodes that you’ve used?
Want to use a shortcode for a specific bit of information but can’t remember exactly what it’s called?
Need to a change a parameter for all occurences of a shortcode?

This is a simple administration tool that lists occurences of shortcodes within post content and/or custom fields, and/or widget settings.
You can select, or search for, specific shortcodes, and it can filter down to a provider, location, or post type.
It is intended to help administrators/editors locate where shortcodes have been used, so that they can be updated, renamed, deleted, or whatever.
Features include :

Search string(s) to match against shortcode tags – space or comma delimited for multple search strings
Filter by the type of provider of shortcode – whether it is provided by a plugin, your theme, internal to WordPress (eg. ), or unknown (an inactive/deleted plugin, maybe?)
Filter by a specific provider – a named plugin, for example
Filter by any number of specific, recognised shortcodes
Filter by where to look for the shortcode – post content, post meta data (custom fields), or widgets
Filter by the type of post that contains the shortcode
Results include (where relevant and available) : either the widget name and its sidebar, or a linked post title and the type of post; the shortcode and its parameters; the shortcode provider (WordPress, plugin, theme, or unknown), and where it was found
Has its own shortcode, for use when a plugin or theme only declares a shortcode when not in the admin backend

What it does not do :

It does not provide any insight as to what any shortcode does, or how to use/configure it.
It does not look at custom tables, theme options, transients.

If you like this plugin (or if you don’t?), please consider taking a moment or two to give it a
Review : it helps others, and gives me valuable feedback.
Shortcode
The shortcode for this plugin is…
[shortcodes_in_use/]

…and output is restricted to users with edit_posts capability.
The attributes available are in line with the options available in the Tool, and each one is a filter.
Setting an attribute for all possible values is the same as omitting that attribute.
Separate filters are ANDed, ie. specifying provider="wordpress" post_type="page" limits the results
to shortcode tags that are in a page AND provided by WordPress core.
Multiple values within a filter are ORed, ie. specifying post_type="post page" provider="wordpress"
limits the results to WordPress’s own shortcode tags that are in either a post OR a page.
When you run the Tool in admin, the equivalent shortcode for the selected options is provided at the end
of the results. Also, the sanitized shortcode is repeated at the top of the shortcode’s output.

search (string) : A space or comma is interpreted as a delimiter, so…
[shortcodes_in_use search="foo bar"/]

…looks for any shortcode tag that contains either “foo” or “bar”.

provider (string) : Any one or more of unknown, wordpress, plugin, or theme,
delimited by either a comma or a space. For example…
[shortcodes_in_use provider="plugin unknown"/]

…reports any shortcode tag whose provider cannot be determined, or whose provider has be
determined as being a plugin.

location (string) : Any one or more of title, content, excerpt, meta or widget,
delimited by either a comma or a space. For example…
[shortcodes_in_use location="content excerpt"/]

…reports any shortcode tag found in any main content or excerpt area.

post_type (string) : Any one or more of WordPress’s standard post types – post, page,
attachment, etc – and/or any custom post types. Multiple post types are comma- or space-delimited.
For example…
[shortcodes_in_use post_type="post,page"/]

…reports any shortcode tag found in a post of type ‘post’ or ‘page’.

tag (string) : Any one or more shortcode tags, delimited by either a comma or a space. For
example…
[shortcodes_in_use tag="shortcodes_in_use, custom_menu_wizard"/]

…reports any occurence of either of those two shortcode tags.

name (string) : This allows you to specify a specific plugin and/or theme by name. Multiple
names are comma- or space-delimited, and each name must begin with either “plugin/” or “theme/”.
For example…
[shortcodes_in_use name="plugin/Shortcodes In Use, theme/Twenty Fifteen"/]

…reports any occurence of a shortcode tag belonging to either the Shortcodes In Use plugin or
the Twenty Fifteen theme. Instead of the name of the plugin/theme, you can supply their
containing folder, so this would be an alternative for the example above…
[shortcodes_in_use name="plugin/shortcodes-in-use, theme/twentyfifteen"/]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Shortcodes In Use」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.1.0 | 1.2.0 | 1.2.1 | trunk |

延伸相關外掛(你可能也想知道)

  • FULL – Cliente 》一旦您的網站已整合至 FULL 控制面板,這個外掛程式就會自動安裝在連接的 WordPress 網站上。, FULL – Customers 外掛程式旨在自動化購買外掛程式和授權的安...。
  • Advanced Cron Manager – debug & control 》使用 Advanced Cron 管理器,您可以管理 WP Cron 事件:, , 查看所有已註冊的事件, 搜索事件, 手動執行任何事件, 新增事件, 暫停事件, 刪除(取消排程)事件,...。
  • Transients Manager 》簡單管理快取資料, 這是一個開發者工具,提供使用者介面來管理快取資料。, 您可以從「工具 → 快取資料」輕鬆地檢視、搜尋、編輯和刪除快取資料。, 工具列開關...。
  • Foxtool All-in-One: Contact chat button, Custom login, Media optimize images 》總結:Foxtool 是根據管理 WordPress 網站的真實需求而開發的產品。經過一段時間的發展,Foxtool 已成為網站管理員不可或缺的外掛程式。該外掛擁有許多值得注...。
  • Cron Logger 》你有沒有好奇過你的 WordPress 在 wp-cron.php 中在做什麼?現在你可以看到了。這個外掛可以紀錄每個排程。, 其他訊息。
  • Advanced Post List 》這個工具類似於文章列表建立器,可讓管理員對所要顯示的內容擁有最大的控制權。 開發時專為網頁設計師和開發人員而設計,使其成為一個高度可自定義的工具。 ...。
  • WP Site Verification tool 》這是一個簡單的工具,可以幫助您提供網站驗證碼和文件生成器,以供任何需要驗證網站的服務使用。, 通過在 head 區段中的註解 / meta 或通過文件 URL 進行驗證...。
  • Remove Admin Bar logo 》此外掛會移除 WordPress 後台工具列上的標誌,讓介面更簡潔。無需設定,啟用後立即生效。。
  • Kopa Framework 》「Kopa Framework」外掛是一種簡單的方式,讓您在 WordPress 網站上設置主題選項、側邊欄管理器、版面管理器和自訂版面功能。。
  • Ads.txt Admin 》Ads.txt Admin 是一個簡單的工具,讓您能夠從 WordPress 儀表板管理您的 ads.txt 檔案。, 現在,發行者需要一個 ads.txt 檔案 放在他們的網站上。發行者需要...。
  • Fancy Product Designer REST API 》這個外掛程式在 Fancy Product Designer 管理員上註冊所有所需的路徑和方法,因此您可以在 https://admin.fancyproductdesigner.com 上托管的管理員中管理您...。
  • Task Scheduler 》處理龐大的動作數量, 您是否有特定的任務需要在您希望的時間運行?您是否使用WordPress作為代理從外部來源生成數據?隨著WordPress的發展成為應用程序平台的...。
  • Old Core Files 》通過檢查和刪除過時的 WordPress 核心文件來保護您的 WordPress 網站。, 當核心進行升級時,通常 WordPress 不再使用某些文件,並為其設置移除選項。, 在某些...。
  • Discourage Search Engines Notifier 》這個外掛程式只是在管理列上顯示通知,顯示禁止搜尋引擎功能的狀態。, 沒有設定,只需安裝外掛程式,您就會在管理列上方看到紅色或綠色眼睛圖示。您可以點擊...。
  • Asset Queue Manager 》這個工具讓你監控、取消佇列、重新佇列在你的網站上已佇列的腳本和樣式。它是為前端性能工程師而設計,他們希望查看並管理任何頁面上佇列的所有資產,並自行...。

文章
Filter
Mastodon