Hi Laetitia,
It is not possible with the plugin to add an order by in the wp_query.
The solution is to add filter on the query.
Example :
function filter_join($join){
global $wp_query, $wpdb;
$join .= " LEFT JOIN ".$wpdb->prefix."reorder_post_rel ON cg_posts.ID = ".$wpdb->prefix."reorder_post_rel.post_id ";
return $join;
}
function edit_posts_orderby($orderby){
global $wp_query, $wpdb;
$orderby = " ".$wpdb->prefix."reorder_post_rel.id ";
return $orderby;
}
add_filter('posts_join', 'filter_join');
add_filter('posts_orderby', 'edit_posts_orderby');
$query = new WP_Query(array(
'post_type' => 'your_post_type',
...
));
remove_filter('posts_join', 'filter_join');
remove_filter('posts_orderby', 'edit_posts_orderby');