Title: Set Tag Order
Author: Adam Greenwell
Published: <strong>2025 年 5 月 5 日</strong>
Last modified: 2026 年 8 月 23 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/set-tag-order.svg)

# Set Tag Order

 由 [Adam Greenwell](https://profiles.wordpress.org/adamgreenwell/) 開發

[下載](https://downloads.wordpress.org/plugin/set-tag-order.1.2.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/set-tag-order/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/set-tag-order/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/set-tag-order/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/set-tag-order/#developers)

 [技術支援](https://wordpress.org/support/plugin/set-tag-order/)

## 外掛說明

The Set Tag Order plugin enhances the WordPress tagging system by allowing users
to specify a custom display order for post tags in both the Block Editor and Classic
Editor. This plugin provides a user-friendly interface for rearranging tags using
drag-and-drop functionality, ensuring that tags are displayed in the desired order
on the front end of the website.

#### Key Features

 * **Custom Tag Order**: Easily rearrange tags in the desired order for posts, providing
   better control over how tags are presented to users.
 * **Custom Tag Separator**: Specify a custom character to separate tags in the 
   output, allowing for greater flexibility in how tags are displayed. Users can
   leave this field empty for no separator.
 * **Custom CSS Classes**: Add custom CSS classes to tag links, enabling users to
   style tags according to their theme’s design. This feature allows for separation
   of multiple classes with spaces.
 * **Compatibility**: Works seamlessly with both the Classic Editor and the Block
   Editor, ensuring a consistent user experience across different editing environments.
 * **Debug Mode**: Debug mode can be enabled to log diagnostic information, which
   is useful for troubleshooting and development purposes.

### Usage

After installation, you can access the settings under Settings > Set Tag Order.

## 安裝方式

 1. In your admin panel, go to Plugins > and click the Add New button.
 2. Click Upload Plugin and Choose File, then select the plugin .zip file. Click Install
    Now.
 3. Click Activate to use your new plugin right away.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Set Tag Order〉的開發相關工作。

參與者

 *   [ Adam Greenwell ](https://profiles.wordpress.org/adamgreenwell/)

[將〈Set Tag Order〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/set-tag-order)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/set-tag-order/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/set-tag-order/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/set-tag-order/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/set-tag-order/)。

## 變更記錄

#### 1.2.1

 * Run the settagord_ordered_tags filter exactly once per render, and on posts that
   have no saved order. Callbacks previously never saw unordered posts, and ran 
   twice on ordered ones.

#### 1.2.0

 * Add WordPress 7.1 compatibility, including the always-iframed editor and the 
   jQuery UI 1.14.2 update.
 * Stop replacing the core/post-terms block renderer. Tag order and CSS classes 
   are now applied before the block renders, so the block keeps its own wrapper 
   markup, alignment, link colour, block supports, and prefix and suffix text.
 * Apply custom tag CSS classes without rebuilding the link, preserving rel=”tag”
   and attributes added by other plugins.
 * Fix tag order synchronization when loading a post in the Classic Editor, which
   never ran because it required a nonce WordPress does not issue.
 * Replace the custom tag separator only between tags, no longer inside tag names
   or URLs.
 * Load the separator stylesheet from a plugin-owned handle so it still applies 
   on themes that do not load the core block styles.
 * Reduce front-end overhead: debug logging no longer formats messages when debug
   mode is off, and the supported post type lookup is cached per request.
 * Add accessible labels to the Block Editor reorder buttons and translate the panel
   strings.
 * Raise the minimum WordPress version to 6.3, which the plugin already required
   in practice.
 * Remove a REST API filter that could never run, and an unused separator filter
   for a hook that does not exist in WordPress.
 * Add keyboard reordering to the Classic Editor tag box. Reordering was previously
   drag-only, leaving no way to change tag order without a mouse.
 * Add a Sort A-Z control to both editors.
 * Announce reordering, adding, and removing to screen readers.
 * Translate the plugin. Settings, the tag box, and the editor panel were previously
   hardcoded English despite the plugin declaring a text domain; a translation template
   now ships in languages/.
 * Add a Settings link to the plugin’s row on the Plugins screen.
 * Add uninstall handling so deleting the plugin removes its options and tag order
   metadata, across all sites on multisite.
 * Add settagord_ordered_tags, settagord_separator, and settagord_link_classes filters
   for theme and plugin authors.
 * Follow the editor colour scheme in both editors instead of using fixed greys.
 * Validate the Tag CSS Class setting as CSS class names rather than free text.

#### 1.1.3

 * Add Classic Editor support for creating new tags from the custom tag box.
 * Improve tag order synchronization when tags are added or removed.
 * Preserve tag order metadata saved by older plugin versions.
 * Restore legacy template helpers for existing theme integrations.
 * Add PHPUnit and GitHub Actions coverage for WordPress 7.0 compatibility.

#### 1.1.2

 * Fix conflict with core/post-terms default block

#### 1.1.1

 * Fixed JavaScript enqueueing to use WordPress standards
 * Refactor function names to prevent conflicts with other plugins
 * Remove restricted verbs from function names

#### 1.1.0

 * Refactored the plugin to follow WordPress plugin development guidelines.
 * Improved sanitization and validation for all input/output variables.

#### 1.0.6

 * Added improved support for block-based themes like Twenty Twenty-Five
 * Fixed issue with tags not displaying in post-terms blocks
 * Improved DOM manipulation for more reliable class and separator handling
 * Implemented custom block renderer for better tag order control

#### 1.0.5

 * Improve classic or block editor usage detection
 * Retain tag integrity when switching editors

#### 1.0.3

 * Added support for Classic Editor
 * Fixed application of tag classes and separators
 * Added explicit debug log option

#### 1.0.2

 * Refactor GitHub Updater class to prevent conflict with other plugins

#### 1.0.1

 * Update block editor panel presentation with more clear UI elements
 * Better initialization before a tag order is set

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **1.2.1**
 *  最後更新 **3 個月前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 6.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/set-tag-order/)
 * 標籤:
 * [block-editor](https://tw.wordpress.org/plugins/tags/block-editor/)[classic editor](https://tw.wordpress.org/plugins/tags/classic-editor/)
   [post tags](https://tw.wordpress.org/plugins/tags/post-tags/)[taxonomy](https://tw.wordpress.org/plugins/tags/taxonomy/)
 *  [進階檢視](https://tw.wordpress.org/plugins/set-tag-order/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/set-tag-order/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/set-tag-order/reviews/)

## 參與者

 *   [ Adam Greenwell ](https://profiles.wordpress.org/adamgreenwell/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/set-tag-order/)