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.
- The topic ‘Excellent – does what it says’ is closed to new replies.