[WordPress] 外掛分享: Widget Alias

首頁外掛目錄 › Widget Alias
WordPress 外掛 Widget Alias 的封面圖片
200+
安裝啟用
★★★★
4.3/5 分(8 則評價)
9 天前
最後更新
問題解決
WordPress 3.0+ v1.7.3 上架:2013-11-10

內容簡介

Widget Alias 外掛允許您創建任何現有小工具的「別名」,有效地重複或複製它。這對於需要在多個側邊欄中顯示相同小工具的情況特別有用,讓您只需編輯一個小工具即可。

【主要功能】
• 創建小工具的別名,方便重複使用
• 可覆蓋別名小工具的標題
• 實時更新小工具選單,使用 AJAX 技術
• 刪除原小工具時,別名不會被刪除
• 提供簡碼功能,方便在文章中使用

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.3) 或搜尋安裝

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

原文外掛簡介

Compatible with PHP 8.2
Widget Alias allows you to create an “alias” of any existing widget, effectively reproducing / duplicating it. This can be especially handy when you want the same widget to appear in multiple sidebars. Normally you would have to edit each widget independently, but Widget Alias means you’ll only have to edit one.
A MIGHTYminnow plugin.
Features
This plugin is similar to Duplicate Widget, with a few key differences:

Widget Alias gives you the option to override the aliased widget’s title.
Widget Alias uses AJAX to update the drop-down menu to choose the ID of the widget you would like to alias.
2. Shortcode
Widget Alias also comes packaged with a shortcode that looks like this:
[widget_alias id=”target-widget-id” title=”Override Title”]
To use the shortcode simply enter the ID of the widget you would like to alias (id parameter), and an override title (title parameter) if you would like to change the aliased widget’s title.
Widget IDs
Widget Alias makes it super-easy for you to find the ID of any widget you would like to alias. In Appearance > Widgets, all active widgets now have their ID appended below the widget title. Note: these IDs are added using jQuery, and will not appear if JavaScript is disabled.
Removing / Deleting Aliased Widgets
Widget Alias makes it easy to tell which widgets are being aliased – each aliased widget has a note below its widget controls letting you know how many times it is aliased. If you delete an aliased widget, the Widget Alias widgets that previously pointed to it will revert to the default alias value of “None.”
Banner photo by Susannah Kay.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon