內容簡介
mPress Menu Wormhole 外掛可以讓您輕鬆地將一個選單設為其他選單的子選單。
為什麼要使用這個外掛?
讓我們假設您有一個側邊選單,其中列出了您網站上一些重要的頁面。現在假設您希望這些相同的項目出現在主標頭導覽的子選單中。現在您必須在兩個地方管理相同的頁面集合。mPress Menu Wormhole 外掛可讓您輕鬆維護單個選單,並使您對側邊選單所做的更改自動反映在標頭選單中。
如何操作?
使用此外掛很簡單:
安裝外掛。
啟用外掛。
在 WordPress 管理員選單中進入 「外觀」->「選單」。
您應該會在左側欄看到一個稱為「導航選單」的方塊。如果您沒有看到它,請查看 FAQ 頁面以瞭解您需要做什麼。
勾選要添加的選單旁邊的選框,然後點擊 「加入選單」 按鈕。
將新項目移動到所需位置,然後點擊 「儲存選單」 按鈕。
重要提示:請不要將選單將入自己……這會創建一個黑洞。換句話說,不要將導航選單添加到自己。這會創建一個無限循環,導致您的網站前端崩潰。不用擔心,這很容易撤消。有時我只是為了好玩而這麼做。
特色
清潔、編寫良好的程式碼,不會拖慢您的網站。
外掛標籤
開發者團隊
原文外掛簡介
The mPress Menu Wormhole plugin allows you to easily add a menu as a submenu to another menu.
Why?
Let’s say you have a sidebar menu where you list a special collection of important pages on your site. Now let’s say you want those same items to appear in a submenu off of your main header navigation. Now you have to manage the same collection of pages in two places. The mPress Menu Wormhole plugin makes it easy to maintain a single menu and have the changes you make to the sidebar menu automatically take place in the header menu as well.
How?
Using this plugin is simple:
Install the plugin.
Activate the plugin.
Go to ‘Appearance’ -> ‘Menus’ in the WordPress admin menu.
You should see a box in the left column called ‘Navigation Menus’. If you don’t see it, check the FAQ page for what you need to do.
Check box next to the menu you want to add and click the ‘Add to Menu’ button.
Move the new item where you want and click the ‘Save Menu’ button.
IMPORTANT NOTE: Please don’t direct a wormhole into itself… it creates a black hole. In other words, don’t add a navigation menu to itself. It creates an infinite loop that will crash the front end of your site. No worries though, it is easily undone. I do it just for fun sometimes.
Features
Clean, well written code that won’t bog down your site.
