[WordPress] 外掛分享: Widget Menuizer

首頁外掛目錄 › Widget Menuizer
WordPress 外掛 Widget Menuizer 的封面圖片
700+
安裝啟用
★★★★
4.3/5 分(6 則評價)
105 天前
最後更新
問題解決
WordPress 3.9.2+ v1.1.3 上架:2014-09-19

內容簡介

Widget Menuizer 可以讓您在選單中做出任何部件所能做的事情!

Widget Menuizer 讓 WordPress 選單更加強大,可以輕鬆創建自定義的“巨型選單”和其他華麗效果,而不必完全改變選單管理系統,使其變得無法辨認。

啟用後,在外觀 > 選單下,您會發現熟悉的頁面、文章、鏈接、分類和標籤列表下方有一個新的側邊欄選項。在這裡,您可以查看當前啟用佈景主題中存在的所有側邊欄區域。只需勾選方塊,即可像添加其他菜單項目一樣將側邊欄添加到菜單中。

進入菜單後,您會看到一個新的“容器元素”選項,它指定包裹在輸出到菜單中的側邊欄周圍的 HTML 標記。

在運行 Widget Menuizer 時,您還可以從外觀 > 部件管理屏幕(在使用 WordPress 5.8 或 Classic Widgets 插件時)定義新的側邊欄區域,因此您可以輕鬆地創建新區域,僅用於包含在菜單中,而不必為您的佈景主題寫任何自定義代碼。

注意:對於 WordPress 5.8 及以上版本的用戶,此插件仍可用於將區域注入菜單中,但您需要運行“Classic Widgets”插件才能通過管理界面創建新的部件區域。

重要提示:由於可能將菜單部件放置在側邊欄中,因此如果您將側邊欄區域放入菜單中包含菜單部件,則可能會看到警告提示。這是因為您可能無意中創建了遞迴:如果您側邊欄中包含的菜單與您放入側邊欄的菜單相同,那麼您將擁有一個無限循環,這將產生不良影響。所以要小心。

1.0 新功能:Widget Menuizer 現在為站點管理員提供了控制小部件在菜單內的方向流動的功能,可以水平或垂直地流動。

0.6 新功能:Widget Menuizer 現在提供了一種方法,讓站點管理員可以從小部件管理中即時創建新的側邊欄!現在,您可以創建新的側邊欄,用於菜單中使用,而無需編輯佈景主題文件或使用其他插件來註冊新的側邊欄。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Anything you can do with a widget can now be done inside your menus!
Widget Menuizer makes WordPress menus even more powerful, allowing for easy creation of custom “mega menus” and other fanciness without completely overhauling the menu management system into something unrecognizable.
Upon activation, navigate to the menu management screen under Appearance > Menus, and you’ll find a new option for Sidebars under the familiar Pages, Posts, Links, Categories and Tags list. Here, you can view all the sidebar regions that exist in your currently-active theme. Simply check a box to add a sidebar into your menu the same way you would for any other menu item.
Once in your menu, you’ll see a new option for “Container Element,” which specifies which HTML tag is wrapped around the sidebars that are output into the menu.
While running Widget Menuizer you also get the ability to define new sidebar regions right from the Appearance > Widgets admin screen (when using WordPress prior to 5.8, or 5.8 in conjection with the Classic Widgets plugin), so you can easily create new regions just for including in your menus without having to write any custom code for your theme.
Note for users of WordPress 5.8 and above: This plugin still works for injecting regions into menus, but you need to run the “Classic Widgets” plugin in order to create new Widget Areas via the admin.
Important: Because it’s possible to put menu widgets inside sidebars, you may see a warning notice if the sidebar region you’ve put in your menu contains a menu widget. This is because you may have inadvertently created a recursion: if the menu contained in your sidebar is the same menu your sidebar is placed in, you’ll have an infinite loop that will do bad, bad things. So be careful.
New in 1.0 Widget Menuizer now gives site administrators the ability to control the direction widgets flow within the menu, either horizontally or vertically.
New in 0.6: Widget Menuizer now provides a way for site administrators to create new Sidebars on the fly from the Widget admin! Now you can create new sidebars for use in your menus without having to edit your theme files or use some other plugin to let you register new sidebars.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon