[WordPress] 外掛分享: Category Commander

首頁外掛目錄 › Category Commander
20+
安裝啟用
尚無評分
23 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.2.1 上架:2026-01-14

內容簡介

總結:Category Commander 是一個讓管理員能夠使用簡潔的拖放介面重新排序分類的 WordPress 外掛。

問題與答案:
1. 使用 Category Commander 的主要功能是什麼?
- 答:主要功能是可以讓管理員使用拖放介面重新排序分類以及更改分類的父級。

2. 在 Category Commander 中是否有支援安全的 REST 保存?
- 答:是的,在 Category Commander 中有支援安全的 REST 保存,包括 nonce 和權限檢查。

3. 如何在前端自動應用自定義排序?
- 答:可以使用 Category Commander 中提供的 Autosort 選項來自動應用自定義排序在前端。

4. Category Commander 是否支援大型分類集合的搜尋篩選功能?
- 答:是的,Category Commander 支援大型分類集合的搜尋篩選功能,並且在篩選時停用拖放功能以防止錯誤。

5. 如何導出和導入分類數據?
- 答:可以導出和導入分類數據作為 JSON 格式,並且導入可以重新創建遺失的分類。

6. 在 Category Commander 中支援鍵盤操作嗎?
- 答:是的,Category Commander 支援鍵盤操作,可以使用 Alt (Mac 上的 Option) + ↑/↓ 來移動焦點項目。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Category Commander」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Category Commander helps you organize WordPress categories, tags, and public custom taxonomies with drag-and-drop ordering, category click insights, history restore, diagnostics, shortcodes, REST API support, CSV export/import, and optional AI-powered suggestions.
Unlike simple category ordering plugins, Category Commander focuses on helping administrators review and improve taxonomy structure. It can detect empty or low-content terms, missing descriptions, long names, similar names, and large terms that may deserve a closer review.
AI features are optional. OpenAI API requests happen only when the site administrator explicitly enables AI features and runs an AI suggestion request from the admin screen. Administrators can also use a manual ChatGPT browser workflow by copying a prompt themselves. AI suggestions are never applied automatically. Administrators must review the result and choose yes before anything changes.
Features

Drag and drop ordering for categories, tags, and enabled public custom taxonomies
Optional saved order presets: Default, Menu, Sidebar, Mobile, and Footer
Hierarchical term ordering with parent safety checks
Front-end autosort option
Optional admin autosort
Read-only REST API for ordered terms
Secure REST write endpoints for administrators
Order history and restore
Reset order by name, slug, ID, post count, or cleared custom order
Taxonomy diagnostics and improvement hints
Optional Category Click Insights for local aggregate category link impressions, clicks, and click-through rate
Shortcode: [category_commander_list]
Developer helpers: category_commander_get_terms() and category_commander_terms_list()
CSV export and import
JSON export and import for backward compatibility
Optional OpenAI-powered order suggestions
Optional AI parent-child structure suggestions
Optional AI category name suggestions that review every selected target term
Separate AI tasks for simpler, more reliable results
AI suggestion target control for parent categories, child categories, or both
Editable AI prompts with variables and one-click reset to defaults
Manual ChatGPT browser workflow for administrators who do not use the OpenAI API
Simple yes/no approval before applying AI suggestions

Privacy and External Services
This plugin can optionally connect to the OpenAI API when AI features are enabled by the site administrator.
When the administrator explicitly runs an AI suggestion request, the previewed data may be sent to the OpenAI API: site name, tagline, locale, selected taxonomy, selected saved order, term IDs, category/tag names, parent IDs, post counts, current positions, the administrator prompt, and optional post title context when that setting is enabled.
Category Commander does not send post excerpts, post content, visitor data, comments, orders, users, passwords, or the OpenAI API key as prompt content. Post title context is sent only when the administrator enables that option.
No data is sent to OpenAI automatically. No front-end visitor action sends data to OpenAI. AI suggestions are not applied automatically. The administrator must review the returned suggestion and choose yes before changes are applied.
The OpenAI API key is provided by the site administrator. It is stored in WordPress options with autoload disabled, masked in the admin UI, and can alternatively be provided with the CATEGORY_COMMANDER_OPENAI_API_KEY constant in wp-config.php.
Administrators can delete the API key stored by Category Commander from AI Settings. Deleting the stored key also disables AI features until a new key is configured. If the key is defined in wp-config.php, remove the constant there.
Category Commander also includes a manual ChatGPT browser workflow. In this mode, the plugin creates a copyable prompt and can import the returned JSON result for review. Category Commander does not send the manual prompt anywhere. If the administrator copies that prompt into ChatGPT or another service, the administrator is choosing to share the included site name, tagline, taxonomy data, administrator instructions, and optional post title context with that service.
Category Click Insights is optional and disabled until an administrator enables it. When enabled, it uses front-end JavaScript to count category link impressions and clicks from links inside your own site. Direct category archive visits from search engines, address bar visits, and bookmarks are not counted as category clicks. The data is stored locally as daily aggregate counts by category and display context. It does not store IP addresses, user IDs, or per-visitor browsing histories.
External service used:
* OpenAI API: https://api.openai.com/v1/responses
* OpenAI Services Agreement: https://openai.com/policies/services-agreement/
* OpenAI Privacy Policy: https://openai.com/policies/privacy-policy/
How to Use
Reorder categories, tags, or taxonomies

Go to Posts -> Category Commander.
Open the Settings tab and enable the taxonomies you want to manage.
Open the Order tab.
Choose a taxonomy and saved order if needed.
Drag terms into the order you want.
Click Save Order.

A restore point is created before the new order is saved.
When a parent category has child categories, you can expand or collapse the child list to focus on parent categories while arranging the order.
Front-end category widgets and blocks
WordPress category widgets and category blocks normally hide empty child categories. Category Commander includes a Settings option to show empty child categories when a category widget or block uses hierarchical display, so site owners can see the parent-child structure before posts are assigned.
Use saved order presets
Presets let you keep different saved orders, such as one order for the normal site display and another order for a shortcode or custom theme area.
The default presets are:
* Default
* Menu
* Sidebar
* Mobile
* Footer
The Default preset is used by normal WordPress category widgets and category blocks when front-end autosort is enabled. Other presets do not automatically detect a theme’s menu, sidebar, mobile, or footer area because themes do not expose those locations in a standard way. Use other presets with the shortcode, the PHP helper functions, or the category_commander_auto_order_preset filter in custom code.
Review taxonomy health
Open the Diagnostics tab to see non-AI improvement hints. Diagnostics can help identify empty terms, terms with very few posts, missing descriptions, long term names, similar labels, and large terms that may deserve subcategories.
Diagnostics do not change anything automatically.
Review category click performance
Open the Insights tab to review local aggregate impressions, clicks, and click-through rate for category links.
Insights is designed for category naming decisions. If a category link is shown often but clicked rarely, the category name or placement may need review.
The feature is disabled by default. You can enable it, choose tracked taxonomies, set data retention, exclude logged-in users, delete all stored insights data, and optionally allow AI suggestions to include 30-day aggregate click metrics as category context.
Restore a previous order
Open the History tab to review recent changes. Click Restore next to a history item to recover the previous order.
History is saved before manual saves, resets, imports, and applied AI changes.
Import and export
Open Import / Export to download a CSV backup or import CSV order data. CSV import matches existing terms by taxonomy and slug and skips missing terms for safety.
JSON export and import are also available for compatibility with earlier Category Commander versions.
Optional AI suggestions
AI features are disabled by default.
To use AI suggestions:
1. Open AI Settings.
2. Enable AI features.
3. Add an OpenAI API key or define CATEGORY_COMMANDER_OPENAI_API_KEY in wp-config.php.
4. Review or edit the default prompts if needed.
5. Open AI Suggestions.
6. Choose one task: order suggestion, parent-child structure and order suggestion, or category name suggestion.
7. Choose the suggestion target: parent and child categories, parent categories only, or child categories only.
8. Review the data preview.
9. Click Generate with OpenAI API.
10. Review the returned suggestion.
11. Choose yes to apply the suggestion, or no to leave categories unchanged.
AI suggestions are never applied automatically.
Order-only AI suggestions change display order only. Parent-child structure suggestions are optional and should be used only when the administrator wants AI to propose moving categories under parent categories.
To stop using AI features, open AI Settings and use Delete stored OpenAI API key. This removes the key saved in the WordPress database and disables AI features.
For category name suggestions, Category Commander processes selected terms in batches. It normally sends a reasonably sized group together, then automatically splits only the group that fails so large sites can finish without repeating unnecessary requests. The AI tasks are intentionally separated so each response stays small and predictable.
For lower cost and faster category name suggestions, administrators can turn off reason text. When reasons are disabled, the result focuses on the current name and suggested name.
Manual ChatGPT browser workflow
Administrators who do not use the OpenAI API can still use AI-assisted review manually:
1. Open AI Suggestions.
2. Choose the suggestion type and target.
3. Enter an analysis goal if needed.
4. Click Create ChatGPT browser prompt.
5. Copy the prompt and paste it into ChatGPT in a browser.
6. Ask ChatGPT to create the JSON file requested by the prompt.
7. Drop or paste the returned JSON result into Category Commander.
8. Review the result and choose yes to apply it, or no to leave categories unchanged.
This manual workflow uses the same preview and safety checks as OpenAI API suggestions. The plugin validates term IDs and parent-child structure before showing the approval screen.
Find help inside WordPress
The Category Commander admin screen includes WordPress contextual help. Click the Help tab at the top right of the admin screen for a quick guide to each tab, AI privacy notes, and shortcode examples.
Common WordPress words used by this plugin
Taxonomy means a WordPress grouping system, such as Categories, Tags, or a custom grouping added by another plugin.
Term means one item inside a taxonomy, such as a single category name or tag name.
Preset means a saved order slot. Default is used by normal WordPress category widgets and blocks. Other presets are for shortcodes, helper functions, or custom theme/plugin code.
Slug means the URL-friendly name WordPress uses in links.
Front end means the public-facing part of your website that visitors see.
REST API is a developer endpoint that themes, blocks, or apps can use to read ordered term data.
CSV is a spreadsheet-friendly file format for backups and review. JSON is a structured data format mainly kept for compatibility with earlier Category Commander exports.
Shortcode means a small bracketed code you can place in content to display an ordered term list.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon