WP Manifestindependent plugin directory
manifest / content / wp-post-order

Post Order

Drag-and-drop ordering for posts, pages and custom post types in WordPress

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/azanumer/wp-post-order/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Drag-and-drop ordering for posts, pages and custom post types — set a manual order in the admin list and have the front end honour it automatically.

Features

  • Drag-and-drop — reorder rows directly on the post list screen (jQuery UI Sortable, already bundled with WordPress); the order saves via AJAX as menu_order values.
  • Front-end ordering — the main query for an ordered post type lists items by menu_order automatically, unless the theme sets an explicit orderby.
  • Order column — a sortable "Order" column on every ordered post type's list table, so you can see and sort by position.
  • Per-type control — choose which post types get ordering under Settings → Post Order (posts and pages by default). Hierarchical types like pages already support ordering; this adds the same behaviour to flat types such as posts.
  • Safe by design — sorting only activates on the plain list view (not while searching, filtering or sorting by another column); the AJAX handler checks a nonce, the edit_posts capability, and per-post edit rights.

Installation

  1. Upload the wp-post-order folder to /wp-content/plugins/.
  2. Activate the plugin through Plugins in WordPress admin.
  3. Pick your post types under Settings → Post Order, then drag rows on the post list screen.

Filters

  • wpo_post_types — override the list of ordered post types in code.

Uninstall

Deleting the plugin removes the wpo_settings option. The menu_order values stay on posts (harmless — WordPress ignores them unless a query orders by them).

License

MIT — see LICENSE.