This tutorial will show you how to achieve drag and drop ordering of downloads in Easy Digital Downloads. Downloads on your website (using the [[downloads]] shortcode) will be ordered exactly how you ordered them in the admin.
To make this super easy for us, we’re first going to install the Simple Page Ordering plugin. Once installed, there’s 2 things we need to do to get it all running. Copy and paste each function below into your child theme’s functions.php or custom plugin.
First we need to tell the post type to support page-attributes. This adds a “Sort By Order” to the download admin screen, where you can use drag and drop ordering with the Simple Page Ordering WordPress plugin.
Second, we need to modify Easy Digital Downloads’ [[downloads]] shortcode query so that it sorts by menu_order. We also want to make sure order is set to ASC (Ascending).