ReOrder Post Within Categories

Description

ReOrder Post Within Categories is used to sort posts (and custom post type) in any custom order by drag & drop interface.
It works with a selected category, each category can have different order of same post.

Screenshots

  • Plugin page settings
  • Re-order your post through a drag & drop interface

Installation

  1. Upload the ‘reorder-posts-within-categories’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the settings page to activate sorting for each categories you choose.

FAQ

Installation Instructions
  1. Upload the ‘reorder-posts-within-categories’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the settings page to activate sorting for each categories you choose.
Modify the reorder category query

A filter allows you to hook into the query of the posts before your reorder them in the dashboard. This is useful is you want to order parent terms posts and not children. WP post category query by default include post from children terms, which will show up in the order list. So by excluding them you are able to order only the posts of parent terms,

add_filter('reorder_post_within_category_query_args', 'exclude_children');
function exclude_children($args) {
    $args['tax_query'][0]['include_children']=false;
    return $args;
}
I want to order posts in non-hierarchical taxonomies (tags)

By default the plugin allows you to order posts only within hierarchical taxonomies (categories). This is done as a means to ensure one doesn’t have spurious orders as allowing both tags and category ordering could lead to users trying to order a post in both and this would create issues which have not been tested by this author. Hence tread with caution if you enable this in your functions.php file,

add_filter('reorder_post_within_categories_and_tags', '_return__false');

Keep in mind that you will now see Pages as a post type to re-order, selecting such post types which do not have any categories associated with it.

Reviews

This is the best plugin in its category

Aurovrata was so kind in helping me to figure out how to reorder custom post in a custom query… I’ve tried lots of plugins, but this is great in showing you the posts by categories, so you don’t need to navigate through tons of non-related posts.

Thx!

Better than the rest

This works better than all the other more popular plugins which do the same thing!

We needed to be able to manually sort one category of posts on a regular basis. This is the only plugin we tested which can do that without breaking any other functionality or requiring additional coding to make it work across all post types.

The only thing which would improve this plugin is for the language translations to be made automatic (rather than copying the translation files to the correct folder).

This deserves more users and more publicity!

Recorder All posts & Products

This is a very helpful plugin . I have install it on WordPress 4.4.2 and with this I can reorder manually my categories (of posts and products) and my posts.

Read all 31 reviews

Contributors & Developers

“ReOrder Post Within Categories” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.3

  • bug fix: attempting to add menu pages before options are set.

1.2.2

  • improved custom post selection in settings
  • added filter ‘reorder_post_within_categories_and_tags’

1.2.1

  • added filter ‘reorder_post_within_category_query_args’

1.2

  • cleaned up, included better messages to ensure settings are saved after activation, else order menu is not shown
  • fixed a small bug

1.1.7

  • Bug fix to allow plugin to work with WP multisite network installation.
  • enable editor role access to re-order menu
  • fixed some languages translation issues

1.1.6

  • Important bug fix (See https://wordpress.org/support/topic/updating-a-post-removes-it-from-the-custom-order). Thanks to Faison for this fix

1.1.5

  • Add DE_de language

1.1.4

  • Correct minor bug

1.1.3

  • Add spanish translations. Special thanks to David Bravo for this !

1.1.2

  • Add a plugin URI

1.1.1

  • Bug Correction when a post is saving

1.1

  • Change version number

1.0

  • Minor Correction

0.1

  • First commit; Initial version