外掛說明
This plugin allows you to easily reorder your WordPress posts by dragging and dropping them in the admin “All Posts” list.
It updates each post’s menu_order value and can optionally modify front-end queries so that posts are displayed in the same order you set.
Features
- Adds a “Reorder” column with a drag handle in the Posts list.
- Supports drag and drop reordering directly in the WordPress admin.
- Saves order instantly via AJAX.
- Optionally changes front-end queries to order by
menu_orderinstead of date. - Lightweight, no external dependencies.
安裝方式
- Upload the plugin folder
post-reorder-dragdropto the/wp-content/plugins/directory, or upload the ZIP from Plugins Add New. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to Posts All Posts. You’ll see a new “Order” column with a drag handle.
- Drag posts to reorder them. The order is saved automatically.
常見問題集
-
Does this work for Pages or Custom Post Types?
-
By default, it only applies to Posts.
You can extend it by editing the plugin code to register the reorder column for other post types. -
Will it affect my theme or other plugins?
-
It changes the
menu_orderfield. If your theme or another plugin already usesmenu_order, you should test carefully. -
How do I disable the front-end reordering?
-
Comment out or remove the
pre_get_postsaction at the bottom of the main plugin file.
使用者評論
這個外掛目前沒有任何使用者評論。