Intuitive Custom Post Order is WordPress Plugin that order items using a drag and drop sortable JavaScript.
Intuitively, order items (Posts, Pages, Custom Post Types, Custom Taxonomies, Sites) using a drag and drop sortable JavaScript.
Select sortable items from 'Intuitive CPO' menu of Setting menu in WordPress.
In addition, You can re-override the parameters of orderby
and order
, by using the WP_Query
or pre_get_posts
or query_posts()
or get_posts()
.
Attention: Only if you use get_posts()
to re-overwrite to the default order (orderby=date, order=DESC
), You need to use own custom parameter orderby=default_date
.
/wp-content/plugins/
directory.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 i
After the installation is complete you can process linting with this command:
npm run lint
When you are ready you can create a zip file, which excludes not necessary files with this command:
npm run plugin-zip
GPLv2 or later