
內容簡介
Nested Pages 是什麼?
提供直覺且易於操作的拖放介面,以管理網頁結構及文章排序
增強了快速編輯功能
新增可編輯、可排序的樹狀表示網站頁面結構
會自動產生符合網頁結構的本機 WordPress 選單
可快速新增多個頁面及文章 (適用於開發)
支援任何文章類型
支援觸控裝置
欲了解更多資訊,請造訪nestedpages.com。
重要提示:Nested Pages 要求 WordPress 版本 3.8 或更高版本,以及 PHP 版本 5.4 或更高版本。
語言:
丹麥語 (Thomas Blomberg)
荷蘭語 (Arno Vije)
英語
芬蘭語 (Roni Laukkarinen)
法語 (Nico Mollet)
德語/瑞士德語 (Bartosz Podlewski)
義大利語 (Francesco Canovi)
葡萄牙語 (Luis Martins)
俄語 (Алексей Катаев)
西班牙語 (Raúl Martínez)
瑞典語 (Marcus Forsberg)
土耳其語 (Yuksel Beyti)
更多資訊:
產生的選單
預設自動產生的選單名稱為 Nested Pages。您可以在「外觀」>「選單」或 Nested Pages 設定中重新命名選單。
切換頁面樹狀結構
若想在樹狀結構中切換子頁面的顯示,請點擊父頁面左側的箭頭。若要快速展開與收起所有頁面,請點擊 Nested Pages 畫面右上角的按鈕。
主題使用
在主題中根據巢狀頁面排序,請在查詢中使用 menu_order 排序選項。
隱藏樹狀結構中的頁面
若想隱藏樹狀結構中的頁面,請打開快速編輯表單,選擇「在 Nested Pages 中隱藏」然後按下「更新」以儲存更改。
若想重新顯示此頁面,請點擊畫面上方的「顯示已隱藏的頁面」連結。隱藏的頁面現在已顯示,可再次編輯以顯示。
排序頁面
若想排序頁面,請將滑鼠移至頁面列上。將會顯示一個功能表圖示 (三條線),請點擊 (或觸控) 此圖示並拖曳,以在選單內進行重新排序。若想將一個頁面拖曳至另一個頁面下方,請將其拖往右邊和目標父頁面的下方。將會顯示縮排的視覺指示。拖曳功能的操作方法與 WordPress 選單相同。
選單同步
安裝 Nested Pages 後,會自動提供名稱為「Nested Pages」的新選單。預設情況下,選單同步已啟用。若要停用同步,請在 Nested Pages 畫面上方取消勾選「同步選單」。重新勾選框以再次啟用並執行同步作業。
效能優化:若您的網站包含大量頁面,停用頁面同步可能有助於提高使用 Nested Pages 的儲存速度。
編輯產生的選單:如果您在 Nested Pages 介面之外進行手動變更,則同步作業執行後,這些變更將被覆寫。
從選單中隱藏頁面:若要從 Nested Pages 選單中隱藏頁面,請在其列上點擊「快速編輯」,選擇「在導覽選單中隱藏」,然後按下「更新」。若選單同步已停用,請啟用同步以同步設定。隱藏的頁面標示為「(隱藏)」。若隱藏帶有子頁面的頁面,所有子頁面都會被隱藏。
WPML 相容性
從版本 2.0.1 開始,Nested Pages 的某些功能與 WPML 相容。在升級至版本 2 之前,請注意一些重要的例外情況。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Why use Nested Pages?
Provides a simple & intuitive drag and drop interface for managing your page structure and post ordering
Enhanced quick edit functionality
Adds an editable, sortable tree view of your site’s page structure
Automatically generates a native WordPress menu that matches your page structure
A way to quickly add multiple pages & posts (ideal for development)
Works with any post type
Works on touch-enabled devices
For more information visit nestedpages.com.
For development inquiries or to submit security notices, please visit the Github repository.
Important: Nested Pages requires WordPress version 3.8 or higher, and PHP version 5.4 or higher.
Languages:
Danish (Thomas Blomberg)
Dutch (Arno Vije)
English
Finnish (Roni Laukkarinen)
French (Nico Mollet)
German/Swiss German (Bartosz Podlewski)
Italian (Francesco Canovi)
Portuguese (Luis Martins)
Russian (Алексей Катаев)
Spanish (Raúl Martínez)
Swedish (Marcus Forsberg)
Turkish (Yuksel Beyti)
More Information
Generated Menu
The default menu generated automatically is named “Nested Pages”. You may rename the menu under Appearance > Menus, or under the Nested Pages settings.
Toggling the Page Tree
To toggle the child pages in and out of view, click the arrow to the left of a parent page. To quickly expand and collapse all pages, click the button in the upper right corner of the Nested Pages Screen.
Theme Use
To order by nested pages ordering in your theme, use the menu_order order option in your queries.
Hiding Pages from the Tree View
To hide a page from the tree view, open the quick edit form, select the option to “Hide in Nested Pages” and click Update to save the change.
To toggle the page back into view, click the “Show Hidden Pages” link at the top of the screen. The hidden pages are now visible, and can be re-edited to be shown.
Sorting Pages
To sort pages, hover over the page row. A menu icon (three lines) will appear. Click (or tap) this icon and drag to reorder within the menu. To drag a page underneath another, drag the page to the right and underneath the target parent. Visual indication is provided with an indentation. The drag and drop functionality works similarly to WordPress menus.
Menu Sync
After installing Nested Pages, a new menu will be available with the name Nested Pages. By default, menu syncing is enabled. To disable the sync, uncheck “Sync Menu” at the top of the Nested Pages screen. Recheck the box to enable it again and to run the sync.
Saving Performance: If your site has a very large number of pages, disabling page sync may help speed up the save time when using Nested Pages.
Editing the generated menu: Any manual changes made to the menu outside of the Nested Pages interface will be overwritten after the synchronization runs.
Hiding Pages in the Menu: To hide a page from the Nested Pages menu, click “Quick Edit” on it’s row, select “Hide in Nav Menu”, and click “update”. If menu sync is disabled, enable it now to sync the setting. Hidden pages are marked “(Hidden)”. If a page with child pages is hidden from the menu, all of it’s child pages will also be hidden.
WPML Compatibility
As of version 2.0.1, some features of Nested Pages are compatible with WPML. There are some important exceptions to take note of before upgrading to version 2 if WPML is installed, or if installing WPML on an existing Nested Pages enabled site.
WPML and menu support: Certain features within Nested Pages are disabled if WPML is installed and enabled. This is due to the complexity of menu synchronization across languages. While automatic menu sync remains available for the site’s primary language, additional languages must be synchronized using WPML’s menu synchronization methods. If menu sync is enabled within Nested Pages, a “Sync WPML Menus” link is available on non-primary language screens for convenience.
Custom Links: Custom links within Nested Pages are disabled on installs with WPML. Custom links may be added through the traditional Appearance > Menus interface. This ensures that WPML menus synchronize successfully across languages.
Filters
the_title($title, $post_id, $view) – Standard title filter. Applied to the title displayed in the nested interface. A third paramater, $view, is passed to check if the current title is being displayed in the nested view.
nestedpages_thumbnail($image, $post) – Customize the thumbnail for each page/post. Note: Thumbnails must be enabled for the post type.
nestedpages_thumbnail_fallback($image, $post) – Customize the thumbnail fallback for each page/post (if the post does not have a featured image). Note: Thumbnails must be enabled for the post type.
nestedpages_edit_link($link, $post) – Customize the “edit” link for each page/post in the nested interface.
nestedpages_edit_link_text($text, $post) – Customize the “edit” link text for each page/post in the nested interface.
nestedpages_view_link($link, $post) – Customize the “view” button link for each page/post in the nested interface.
nestedpages_view_link_text($text, $post) – Customize the “view” button text for each page/post in the nested interface.
