=== Elephant Post Order ===
Tags: reorder, drag and drop, posts, order, sort
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Reorder your WordPress posts with a simple drag & drop interface in the admin panel

== Description ==

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_order` instead of date.
- Lightweight, no external dependencies.

== Installation ==

1. Upload the plugin folder `post-reorder-dragdrop` to the `/wp-content/plugins/` directory, or upload the ZIP from Plugins → Add New.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to **Posts → All Posts**. You’ll see a new "Order" column with a drag handle.
4. Drag posts to reorder them. The order is saved automatically.


== Frequently Asked Questions ==

= 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_order` field. If your theme or another plugin already uses `menu_order`, you should test carefully.

= How do I disable the front-end reordering? =
Comment out or remove the `pre_get_posts` action at the bottom of the main plugin file.