前言介紹
- 這款 WordPress 外掛「Child Order」是 2014-05-15 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2014-05-16,距離現在已有 4004 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
search |
內容簡介
此外掛在編輯頁面中增加了一個管理面板,可讓您重新排列此頁面的子頁面並開啟或關閉它們的顯示。
這僅會影響顯示指向子頁面的連結清單的佈景主題部分,且僅影響具有 menu_order 設定的佈景主題。它不會影響選單。您需要使用現有的選單介面編輯那些。
實際顯示子頁面清單並不在此外掛的範圍內 - 有許多佈景主題和外掛可提供這項功能。
開發人員
對於開發人員,此外掛提供了許多可用於添加欄位和行為的鉤子。
顯示元框時:
child_order_before_list – 在管理區域中撰寫子頁面列表之前呼叫的動作
child_order_before_item ($post) – 在每個項目開始時呼叫的動作
child_order_after_item ($post) – 在每個項目結束時呼叫的動作
child_order_after_list – 在完整清單撰寫後呼叫的動作
child_order_item_title ($title, $post) – 控制顯示項目標題的過濾器
child_order_message ($message) – 控制顯示清單後的訊息的過濾器
儲存時(在 AJAX 中):
child_order_children ($array, $parent_id) – 在儲存之前調整文章 ID 清單的過濾器
child_order_before_save ($array, $parent_id) – 在儲存項目順序之前呼叫的動作
child_order_save_item ($id, $menu_order) – 在儲存每個項目時呼叫的動作
child_order_after_save ($array, $parent_id) – 在儲存項目順序之後呼叫的動作
如果要從輸出中刪除「編輯」和「檢視」按鈕,請在設置時調用此方法:
remove_action('child_order_after_item', 'child_order_after_item_edit_link');
請注意,此外掛的內部運作方式可能會更改,因此這些鉤子的名稱和詳細資訊將來可能會更改。
原文外掛簡介
Adds an admin panel when editing edit pages, to let you rearrange this page’s child pages and switch their display on/off.
This will only affect parts of your theme that display a list of links to child pages, and only those which respect the menu_order setting. It has no effect on Menus. You need to edit those with the existing menu interface.
Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.
Developers
For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours
When displaying the meta box:
child_order_before_list – Action called before writing the list of child pages in the admin area
child_order_before_item ($post) – Action called at the start of each item
child_order_after_item ($post) – Action called at the end of each item
child_order_after_list – Action called after writing the whole list
child_order_item_title ($title, $post) – Filter to control the title displayed for an item
child_order_message ($message) – Filter to control the message displayed after the list
When saving (in AJAX):
child_order_children ($array, $parent_id) – Filter to adjust the list of post IDs before saving
child_order_before_save ($array, $parent_id) – Action called before saving the order of items
child_order_save_item ($id, $menu_order) – Action called on saving each item
child_order_after_save ($array, $parent_id) – Action called after saving the order of items
If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:
remove_action('child_order_after_item', 'child_order_after_item_edit_link');
Be aware that the internal workings of the plugin are subject to change,
so the names and details of these hooks may change in future version.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Child Order」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Search Regex 》Search Regex 提供了強大的搜尋和替換函數,可用於 WordPress 文章、頁面、自定義文章類型等數據源的搜尋與替換,這些功能超越了標準搜尋功能,讓你可以搜尋...。
String locator 》當你在開發主題和外掛時,你經常會注意到某些文字被硬編碼在文件中,你需要對其進行修改,但你不知道該主題或外掛的名稱,更不知道要查找哪個文件。, 你可以...。
Search & Replace 》, 注意:此外掛未進行維護。, , 程式碼會繼續留在 SVN 和 Github 上,如果您有興趣。, 使用「Search & Replace」工具,您可以搜尋任何內容並以其他內容取...。
Relevanssi – A Better Search 》Relevanssi 取代了 WordPress 標準搜尋引擎,提供更好的搜尋體驗、豐富的功能和可配置的選項。使用 Relevanssi 會獲得更好的搜尋結果和呈現方式,你的使用者...。
Ivory Search – WordPress Search Plugin 》Ivory Search 是一個易於使用的 WordPress 高級搜尋插件。, 它可以增強預設的 WordPress 搜尋功能,還可以讓您創建新的自定義搜尋表單。, 使用 Ivory Search...。
Real-Time Find and Replace 》這個外掛允許你在頁面產生時,動態地替換主題和其他外掛的代碼和文字為你選擇的代碼和文字,然後再傳送頁面給使用者的瀏覽器。, 由於查找和替換是實時進行的...。
Ajax Search Lite – Live Search & Filter 》Ajax Search Lite 是一款 WordPress 的即時搜尋外掛程式。這款響應式的即時搜尋引擎將提供一個使用者友好的 AJAX 驅動搜尋表單 - 即時搜尋欄。你也可以使用分...。
Advanced Woo Search 》說明:, , Advanced Woo Search - 功能強大的 WooCommerce 搜索插件,支援 AJAX 搜索和搜尋結果頁面顯示。, 插件官方網站 | 功能列表 | 文檔, 主要功能, , 產...。
Search Exclude 》這個外掛能夠讓你勾選該頁面、文章或其他內容的複選框來將其排除在 WordPress 搜尋結果之外。, 支援快速和批次編輯。, 在外掛設置頁面中,您也可以看到所有被...。
Customizer Search 》是否使用使用 WordPress 自訂樣式主題?那你一定會喜歡這個外掛!不再花時間找尋設定,只需要搜尋你想要的設定項目,就可以立即前往該設定。, 適用於所有 Wor...。
SearchWP Live Ajax Search 》此 WordPress 外掛不需要SearchWP,但如果有的話就會使用它。在 searchwp.com 可以找到完整文檔。, 歡迎在 GitHub 上貢獻您的力量!https://github.com/jchri...。
Search & Filter 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。
Better Find and Replace 》p>這個外掛提供了一個簡單的方式,可以搜尋目標字詞並且以你想要的字詞替換它。搜尋與替換的過程發生在網站在瀏覽器中呈現之前,不會影響到任何其他檔案或資...。
Disable Search 》此外掛可防止 WordPress 處理和允許任何來自網站前端的搜尋請求。具體來說,此外掛:, , 若主題使用標準的 get_search_form() 函式來顯示搜尋表單,則無法顯...。
ACF: Better Search 》此插件可為 WordPress 搜尋引擎添加額外功能,讓您可以在 Advanced Custom Fields 指定的欄位中搜尋內容。, 一切都是自動運作的,您無需添加任何額外的程式碼...。