[WordPress] 外掛分享: Widgets Admin Fix

首頁外掛目錄 › Widgets Admin Fix
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
5898 天前
最後更新
問題解決
WordPress 2.8+ v0.2 上架:2009-08-30

內容簡介

此外掛可讓您在小工具管理頁面中連結到特定側邊欄並自動開啟它們。預設情況下,當您進入小工具管理頁面時,所有的側邊欄都是關閉狀態。

<a href="<?php echo admin_url( 'widgets.php' ) .'?sidebar=aside'; ?>">新增小工具</a>

您需要知道欲開啟的側邊欄的 ID。若要開啟多個側邊欄,可使用逗號將它們分開。

<a href="<?php echo admin_url( 'widgets.php' ) .'?sidebar=aside,body_open,before_the_loop'; ?>">新增小工具</a>

或是使用add_widgets_link()函數:

<?php echo waf_widgets_link( 'aside', '新增小工具至Aside' ); ?> <?php echo waf_widgets_link( 'aside,body_open,before_the_loop' ); ?>

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin adds the ability to link to specific sidebars in the widgets admin page and have them open up automatically. In addition, by default when visiting the widgets admin page, none of the sidebars are open.
Add Widgets
You’ll need to know the IDs of the sidebars you’d like to have opened. For multiple sidebars, simply separate them with commas.
Add Widgets
Alternatively, you can use the add_widgets_link() function:

延伸相關外掛

文章
Filter
Apply Filters
Mastodon