內容簡介
Enhanced Custom Menu是一款可提升WordPress 3.0中「自動加入新頂層頁面」功能的外掛,它可以自動地將子頁面加入到自訂選單的階層中。這款外掛可讓WordPress 3.0的自訂選單功能,就像wp_list_pages一樣可以在管理介面中進行編輯。
這款外掛非常適合想要在發佈時自動將子頁面加入到導覽選單中,而不想編輯WordPress核心文件的使用者。
Enhanced Custom Menu還更新了刪除選單項目的功能,當頁面從發佈狀態變為草稿、審核中,或被移到垃圾桶時,相應的選單項目會被移除。如果以後重新發佈頁面,該選單項目將重新出現。
在0.2版本中,如果子頁面的頁面狀態發生變化,它們將不會從選單中移除。這樣可以保留選單的結構。
注意:您必須啟用自訂選單功能,啟用WordPress 3.0並開啟「自動加入新頂層頁面」功能。
外掛標籤
開發者團隊
原文外掛簡介
Enhanced Custom Menu replaces the ‘Automatically add new top-level pages’ feature of wordpress 3.0 with an enhanced version automatically adding subpages to their respective place in your custom menu’s hierarchy. This plug-in allows custom menus in wordpress 3.0 to work like wp_list_pages with the ability to edit the menu from the admin menu editing interface.
This is perfect for those who would like to automatically add subpages to their navigation menu on publish without editing core wordpress files.
Enhanced Custom Menu also updates the delete menu item feature, when a page is changed from publish to draft, review, or moved to the trash, the respective menu item is removed. If the page is later added re-published the menu item will come back.
In 0.2 pages that have sub-pages are not removed from the menu if they are changed from published status. This retains the structure of the menu.
Note: You must have custom menus enabled, running wordpress 3.0, and turn on ‘Automatically add new top-level pages.’
