
內容簡介
使用「Menu In Post」外掛,您可以建立短碼來在文章、頁面和短碼小工具中顯示連結列表或下拉式選單。與連結清單相比,菜單更容易透過 WordPress 管理介面 (UI) 進行管理。您可以在一個地方更新菜單(外觀 > 選單),並將其更新到您為其添加「Menu In Post」短碼的所有位置。
功能
工具中的管理介面,用來快速建立短碼
顯示菜單列表或下拉清單
可配置的子菜單深度層級
可配置的排序方式(透過 WordPress 選單 UI)
設置選單容器和清單的可選 ID 或類別
在所有菜單項目的 URL 後附加文本字符串
與 PHP 8.1 相容
使用
在 WordPress 管理介面中,查看「工具」菜單中的「Menu In Post 工具」。
使用「Menu In Post 工具」的短碼建立器建立您的菜單短碼。
將菜單短碼複製並粘貼到頁面、文章或小工具中的 Gutenberg 編輯器中的「短碼區塊」中。
隱私聲明
「Menu In Post」不會:
偷偷地追踪使用者
將個人使用者資料寫入資料庫
傳送資料到外部伺服器
使用 Cookies
翻譯
您可以在translate.wordpress.org上翻譯「Menu In Post」。
外掛標籤
開發者團隊
原文外掛簡介
With Menu In Post, you can create shortcodes to display menus as hyperlinked lists or dropdowns in posts, pages, and shortcode widgets. Menus are easier to manage through the WordPress user interface (UI) than a list of links. You can update a menu in one place (Appearance > Menus) and it will be updated everywhere you have added a Menu In Post shortcode for it.
Features
Admin UI in Tools for quickly building shortcodes
Display menus as lists or drop-downs
Configurable depth-level for submenus
Configurable ordering (via WordPress Menus UI)
Set optional IDs and/or classes to menu containers and lists
Append a text string to the URL of all menu items
Admin UI in Settings to tweak JavaScript loading and minification
Works with block-enabled themes with option to display classic menu editor
Use
In WordPress Admin, look on the ‘Tools’ menu for Menu In Post Tools.
Use Menu In Post Tools’ Shortcode Builder to build your menu shortcodes.
Copy the menu shortcode and paste it into a Shortcode Block in the Gutenberg editor in a page, post or widget.
Use the classic menu editor (Appearance > Menus) to add/edit menus.
Optionally, select options in Settings > Menu In Post. No changes are necessary to use the plugin.
Privacy Notice
Menu In Post does not:
track users by stealth
write personal user data to the database
send data to external servers
use cookies
Translations
You can translate Menu In Post on translate.wordpress.org.
