This handy little code snippet will order downloads on category pages alphabetically. If you’d like to order them differently, have a look at the order and orderby parameters of WP_Queryย and substitute accordingly.
Copy and paste the function below (mind the opening PHP tag) into your child theme’s functions.php or a custom plugin:
Nice and clean. Great snippet, Andrew! Thanks for sharing! ๐
Thanks Joan!
Wow thanks man! ๐
No problem Mo, glad you found that useful.
Thank you for the help, I am new to WP and EDD as well… using that snippets I was able to sort on cat and even to duplify it for tag displays…