reordering posts
I am finding that the plugin will often leave posts with the same order value as other posts after dragging, which means they won’t necessarily actually be in the correct order. Here’s a video of me trying to reorder some posts:
https://www.dropbox.com/s/shgxcn39dhpl19z/SCPO.mov?dl=0
Twentyseventeen with a CPT created with Pods. I drag and drop to reorder, then reload the page to see if the order will stick.
Works good on my side. Do you have any other plugins installed that controls the order ?
from his feedback, there were no other plugins installed: https://wordpress.org/support/topic/often-doesnt-change-order-values/
Well, the user says that no other plugins were installed, but from the video at least one plugin is installed : Jetpack
Hi all,
I have done some debugging as I'm experiencing the same issue as @mplusb
As you will see from the HTML markup below that 14655 comes before 14659:
But when querying the database I get the opposite:
I believe the plugin to be working correctly as I have debugged at every stage of the reordering process and found no issues. I have also checked the plugin is resetting the orderby to menu_order and to order to ASC (which it does). That said it still doesn't explain why it is happening, I am running on Wordpress 5.0.2 and using WooCommerce for my products post type.
I have however worked something out which definitely solves my issue in the meantime. Forcing the state by clicking on the sort tab as seen here below:
I get the correct order for my products and stays corrected when I refresh. If you cannot see this tab then you can try the following URL: edit.php?post_type=[CUSTOM POST TYPE HERE]&orderby=menu_order&order=ASC
If this becomes an issue on more sites then may require further investigation.
I have tested this with a Pods-generated CPT, can't replicate the bug.