Support » Plugin: Reorder Posts » Excellent – does what it says

  • Brilliant plugin.

    I was surprised this plugin has such a low rating and I suspect it is because it does require a little developer know-how to set it up.

    I had this up and running in 15 minutes. I use it in combination with it’s sister plugin “Reorder by Term”.

    Note you may need to adjust your WP_Query functions, but it provides you with the code snippets you need – very handy!

    For example I use the following to provide a custom post sort order by taxonomy:

    $category_name = $post->post_name;
    $args = array(
    ‘post_type’ => ‘project’,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => -1,
    ‘order’ => ‘ASC’,

    //’orderby’ => ‘menu_order’, //old code
    //’category_name’ => $category_name //old code

    //New sort order by term:
    ‘meta_key’ => ‘_reorder_term_category_’.$category_name,
    ‘orderby’ => ‘meta_value_num title’

    $projects = new WP_Query($args);

    Another gotcha is to ensure you have “Sort by” set to None for the menu order arguments found within Settings – Reorder Posts. I suspect this is what is causing the function to not work for a few of the negative reviews here.

Viewing 1 replies (of 1 total)
  • Plugin Author Ronald Huereca


    Thank you!

    I suspect the low ratings are due to people who expect reordering to automagically happen on the front-end without any code.

Viewing 1 replies (of 1 total)
  • The topic ‘Excellent – does what it says’ is closed to new replies.