Intuitively reorder Posts, Pages, Custom Post Types, Taxonomies, and Sites with a simple drag-and-drop interface.
Intuitive Custom Post Order lets you reorder items with simple drag and drop in the WordPress admin.
You can sort Posts, Pages, Custom Post Types, Taxonomies, and (on Multisite) Sites.
Go to Settings → Intuitive CPO and select which content types you want to make sortable.
Once enabled, just drag and drop items in the list tables—no extra setup is required.
If you create custom queries in your theme or plugins, set orderby=menu_order and order=ASC to respect the drag-and-drop order.
To keep the default WordPress order (by date), explicitly set orderby=date and order=DESC.
Source code and development are available on GitHub.
- Upload the 'intuitive-custom-post-order' folder to the
/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Go to Settings → Intuitive CPO and choose which post types or taxonomies you want to make sortable.
- Simply drag and drop items in the list tables to reorder them.
To ensure following WordPress coding standards @wordpress/scripts is used for linting. Currently the CSS and JavaScript parts are not heavy so that there is no bundle process implemented, yet.
To use the plugin coding standards and linting navigate to the plugin folder and run the following commands in terminal:
composer install
npm iAfter the installation is complete you can process linting with this command:
npm run lintWhen you are ready you can create a zip file, which excludes not necessary files with this command:
npm run plugin-zipGPLv2 or later