內容簡介
必須使用經典編輯器外掛 - 這是我對古騰堡的抱怨清單之一,因為它使用 REST API 來顯示分類,對用戶來說無法為分類框添加任何東西,從而使 wp_terms_checklist_args 過濾器變得無用。如果您還沒有使用安裝次數超過 500 萬的經典編輯器外掛,您將需要使用它來使此外掛工作。我正在尋找解決方案...
您的分類列表是否很長,很難滾動並找到所需的分類?這個外掛程式會將子分類的群組折疊為可展開子菜單,您可以根據需要打開或關閉它們,從而將分類列表縮小到可管理的大小。已勾選的分類子菜單不會折疊(但是仍可以折疊),因此您不必搜尋它們。
感謝 scribu 提供來自他的 Category Checklist Tree 外掛的代碼,這可以避免毀壞分類清單的層次結構。
此外掛可與文章分類和 WooCommerce 產品分類一起使用。據用戶反映,它還可以與自定義分類法一起使用!
連結:外掛程式新聞 | 作者網站
外掛標籤
開發者團隊
② 後台搜尋「Collapsible Categories in the Dashboard」→ 直接安裝(推薦)
原文外掛簡介
Must use Classic Editor plugin – Add to my list of gripes with Gutenberg that it uses the REST API to display the categories, adding nothing to the categories box for the user while rendering the wp_terms_checklist_args filter useless. If you don’t already use the Classic Editor plugin (installed more than 5 million times to date), you’ll have to use it for this plugin to work. I’m looking for a work-around…
Does your list of categories go on and on, making it difficult to scroll to and find what you need? This plugin will collapse groups of subcategories into expandable submenus, which you may open and close as needed, cutting your category list down to a manageable size. Submenus with checked categories are not collapsed (but are collapsible), so you won’t have to hunt for them.
Thanks to scribu for the code from his Category Checklist Tree plugin, which prevents the breaking of the category list heirarchy.
This plugin works with post categories and WooCommerce product categories too. According to users, it works with custom taxonomies!
Links: Plugin News | Author’s Site
