Hi Jamie,
Actually what you looking for (e.g. sort indexes to be saved within default menu_order column) will not work, there are few things to consider:
1) Since you will sort the posts within the categories, that means there will be multiple posts with the same menu_order value (e.g. multiple posts with menu_order value as 1, 2, 3 etc) When using that to set the order, it will not be accurate.
2) If you use the above method, sorting a post within multiple categories will not work. Since the menu_order can hold only a value at a time, only the very last sort will be kept, the previous will be lost.
3) Giving the above, the Advanced Post Types Order plugin handle sorts through lists, meaning you can create order of objects without losing any previous sorting. The plugin apply the order automatically through filters, or you can call that through ‘orderby’ => ‘menu_order’ and the code will take care to apply the sort as defined within admin.
For more details i suggest to check with plugin documentation and articles.
Thanks
Hi there,
Thanks for your reply and information much appreciated.
So the plugin will sort correctly if the WP_Query orderby is set to menu_order as this is what the query is currently sorting by I just wanted to check this could be done as other plugins I have tried do not change order when sorting by menu_order regardless of how they are set in the admin.
I looked at the docs and it seems to do this so it should work with the query I have in place. Do I have to create new lists from scratch and add in each post or can this be sorted by category in the plugin itself by selecting a category and dragging and dropping the post?
Thanks again.
Jamie