內容簡介
在編輯文章時,快速地將頁面、文章或任何自訂文章類型的文章加入到任意您編輯的菜單中。勾選選單添加一個菜單項目,保存,然後前往管理菜單頁面查看新的菜單項目。
在編輯頁面的側邊有一個「添加到菜單」框,其中有一個勾選框列表,列出了您已設置的菜單。如果文章已經被添加,則勾選框將被勾選且禁用。如果尚未添加到菜單中,則可以勾選勾選框並保存文章以將其添加。之後,前往菜單管理頁面以移動(如希望)並發布新的菜單項目。
您可以通過前往「設置 > 添加到菜單」頁面來控制哪些文章類型出現在面板中。
如果文章類型具有層次結構(例如父級頁面),則會嘗試將新的菜單項目放在連結到祖先文章的菜單項目下方(如果菜單項目存在)。
外掛標籤
開發者團隊
原文外掛簡介
Quickly add Pages, Posts, or any custom post type posts to any of your menus while you are editing the post. Check the checkbox for the menu to add a menu item to, save, and then go to the admin menu page to see the new menu item.
On the edit page, down along the side is a ‘Add to menu’ box that has a list of the menus you have setup with checkboxes. If the post has already been added, then the checkbox is checked and disabled. If it has not been added to the menu, you can check the checkbox and save the post to add it. Afterwards, go to the Menu admin page to move (if wish) and publish the new menu item.
You can control which post types get the box by going to the ‘Settings > Add to menu’ page.
If the post type has hierarchal structure (such as parent Pages), this will try to place the new menu item underneath a menu item that links to an ancestor post (if menu item exists).
