| 开发者 | watrix |
|---|---|
| 更新时间 | 2026年9月12日 15:40 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
menu_order field and applied to the admin list (and optionally to the front end).get_terms() / wp_list_categories() when no explicit order is requested.term_order column (Category Order and Taxonomy Terms Order and similar plugins) per taxonomy. Check how many terms will change before importing, and undo the import from a backup if needed. Running it again gives the same result.wddr_sortable_post_types, wddr_sortable_taxonomies, wddr_apply_front_order, wddr_apply_term_order, wddr_woocommerce_managed_taxonomies, wddr_import_min_ordered_ratio.term_order 列に保存するもの)の並び順を、タクソノミー単位で取り込めます。「変更件数を確認」で取り込む前に件数を確認でき、何度実行しても結果は同じです。取り込み前の並びは退避され、「取り込みを元に戻す」で戻せます。order)を正とし、取り込み時はそちらにも同じ値を書き込みます。menu_order、ターム(カテゴリー・タグ)の並び順は term meta _wddr_term_order に保存します。wp-content/plugins/ or install it from Plugins > Add New, then activate it.Post and page order is stored in the core menu_order column of the posts table. Term order (categories, tags and the taxonomies you select) is stored in the term meta key _wddr_term_order; for taxonomies ordered by WooCommerce (product categories) the same value is also written to WooCommerce's term meta order. The feature toggles, the selected taxonomies, the top-level admin menu order, the custom and hidden admin menu separators, and the per-menu label / icon / separator-style overrides are stored in eight options (wddr_settings, wddr_term_taxonomies, wddr_admin_menu_order, wddr_admin_menu_separators, wddr_admin_menu_hidden_separators, wddr_admin_menu_labels, wddr_admin_menu_icons and wddr_admin_menu_separator_style). Import backups (the previous values of the terms an import changed and the order the import wrote) are stored per taxonomy in options named wddr_import_backup_{taxonomy} and wddr_import_backupdata_{taxonomy}, listed in wddr_import_backup_taxonomies (none of them is autoloaded), until you undo the import or discard the backup. No database tables are added or altered.
Uninstalling deletes the plugin's own data: the options listed above and the _wddr_term_order term meta. WooCommerce's order term meta belongs to WooCommerce and is kept. The menu_order values are kept, because menu_order is a core field shared with other features (such as the page "Order" attribute); resetting it could break ordering you set elsewhere. Your content is never touched.
Drag and drop is paused while the list is sorted by a column (for example after clicking the Title, Author or a taxonomy column header, or when you arrive via a link that includes a sort). Reordering a column-sorted list would be ambiguous, so the plugin disables dragging and shows an admin notice instead. Click "Show default order" in the notice (or remove the sort from the column header) to switch back to the saved order — dragging works again immediately. Also make sure the feature for that screen is enabled in Settings > Sort Order.
Front-end ordering is off by default so that activating the plugin never changes your public site. Enable "Apply post order on front" (and/or "Apply term order on front") in Settings > Sort Order. Note that sticky posts still appear first — that is standard WordPress behavior.
The global order. Watrix Drag Drop Reorder keeps a single order per post type (and per taxonomy); it does not store a separate order per category filter. Reordering a filtered list updates the global positions of the rows you see.
No. Two ordering plugins change the same queries and fight over the result (for example, Category Order and Taxonomy Terms Order overrides the term order, and post ordering plugins write to the same menu_order field). Use one ordering plugin at a time. To switch without losing your order:
Run the import again. It only writes terms whose order is not yet up to date, so each run continues where the previous one stopped. The backup of an unfinished import is kept, so "Undo import" still returns to the order from before it started. "Check changes" shows 0 terms to update when it is complete.
No. These plugins store the post order in the core menu_order field, which Watrix Drag Drop Reorder reads and writes as is. After you deactivate them, the list screens keep the same order. For the public site, turn on "Apply post order on front" in Settings > Sort Order.
WooCommerce orders product categories (and product attributes) itself: it stores the order in the term meta order, sorts them that way everywhere, and adds its own drag and drop to the Product categories screen. To avoid two plugins fighting over the same screen and query, Watrix Drag Drop Reorder leaves these taxonomies to WooCommerce: it does not add its own drag and drop there and does not change their queries. When you import an existing order for product categories, the same order is written to WooCommerce's order meta as well, so the store shows the imported order right away. WooCommerce's previous order is backed up first and can be restored with "Undo import". To protect your store, the import is disabled when fewer than half of the terms have a saved order (it would mostly sort them by name; developers can change the ratio with the wddr_import_min_ordered_ratio filter), and "Check changes" shows how many terms WooCommerce currently orders differently — for example after you reordered them in WooCommerce — because importing again would revert them. With "Apply term order on front" on, WooCommerce's order is also applied to front-end queries of product categories that sort by name, such as the Store API, so the storefront keeps one order everywhere. Product tags are not ordered by WooCommerce, so they work like any other taxonomy. Developers can change which taxonomies are treated as WooCommerce-managed with the wddr_woocommerce_managed_taxonomies filter.
No. When existing posts have mixed or duplicate menu_order values, Watrix Drag Drop Reorder falls back to renumbering the visible page from the smallest value. This can temporarily overlap with neighboring pages, but the list stays stable (date is used as the secondary sort key) and the numbering self-heals the next time you reorder that page.
Posts, pages and every custom post type that has an admin list screen (registered with show_ui). Custom post types work out of the box — no code needed — and can be turned off with the "Custom post type order" toggle in Settings > Sort Order. Hierarchical post types are reordered within the same parent, like pages. Developers can narrow or extend the list with the wddr_sortable_post_types filter.
Custom post types are supported out of the box (see the previous answer). Custom taxonomies can be selected in Settings > Sort Order > Taxonomies (every taxonomy registered with show_ui is listed). Developers can still narrow or extend the selection with the wddr_sortable_taxonomies filter, which now receives the selected taxonomies.
Sorting the Categories/Tags columns on the Posts list uses a JOIN with GROUP_CONCAT, which is limited to the admin screens. Saving a term order reads the taxonomy with a single query and writes only the terms whose position changed, and the settings page only counts terms until you click "Check changes". Measured on a test site with 5,000 terms and 10,000 posts: saving a drag and drop on a term list takes about 40 ms, checking changes about 30 ms, and importing 5,000 terms about 1 second. Front-end ordering adds no extra queries.
order term meta, but product tags have nothing else to fall back on, so their order jumped on deactivation. The order is now applied last (after WooCommerce and after other ordering plugins), so you can turn the setting on, compare the front end, and only then deactivate the old plugin.name_num, used by product attributes set to sort by numeric name) and its menu order sorting are no longer overwritten.wddr_apply_term_order filter added by other code, and no longer leaves its own filters behind if the query throws.wddr_terms_clauses_priority to change the priority the order is applied at, for sites where another plugin sorts terms even later.wddr_is_woocommerce_catalog_query.name in descending order now come back in descending order instead of ascending.wddr_sortable_taxonomies filter now runs on the selection.term_order column by plugins such as Category Order and Taxonomy Terms Order, per taxonomy. "Check changes" shows how many terms will change before you import; running it again gives the same result and only writes terms that are not up to date yet (safe to re-run after a timeout). The order before the first import is backed up and can be restored with "Undo import". Administrators only.order term meta so both stay in sync. The import is disabled when fewer than half of the terms have a saved order, and "Check changes" warns about terms WooCommerce currently orders differently.wddr_import_backup_{taxonomy} for the date and status, wddr_import_backupdata_{taxonomy} for the values; neither is autoloaded), so large tag sets no longer create one big option and the settings page reads only the small status option. Backups can be discarded from the settings page, including those of taxonomies that are no longer selected or whose plugin is inactive. Uninstalling removes every backup and import notice, even ones missing from the backup list.product_cat with the wddr_sortable_taxonomies filter in 1.3.0: while WooCommerce is active, WooCommerce already replaced the query order with its own order meta, so the order saved by this plugin was not what your store showed. Nothing changes on the store in 1.4.0; the Product categories screen now uses only WooCommerce's drag and drop. To copy an order from another plugin into WooCommerce, use the import.dashicons-megaphone), an https:// URL, an SVG data URI, or none for a hidden icon.customize.php?return=...) are matched reliably.