• Hi there,

    I am looking at your advanced plugin and just wanted to confirm a few bits. The free version works great as I am using a plugin called Search Filter Pro which sorts by menu order.

    Issue is I have 3000+ posts which is making it quite difficult to manage dragging and dropping to sort these. I notice the Advanced plugin lets you sort by Category which would be helpful if I can select the category and then sort. Does this still use Menu Order to sort the posts in each category?

    As I have tried a few free plugins ie ‘Custom Category Post Order’ but this adds new values to order this which makes it useless to me as the posts are sorted by menu order.

    Any information would be appreciated here.

    Many Thanks
    Jamie

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nsp-code

    (@nsp-code)

    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

    Thread Starter Jamie Gill

    (@patchgill)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu Order’ is closed to new replies.