Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    Are you comfortable with a tiny bit of PHP? I can give you a quick method for doing it.

    Thread Starter Cat

    (@stitchyrocks)

    Yes, I think I can handle a tiny bit of php. It would be nice if you could teach me how to do it 🙂 Thanks!

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Can you update to the latest version (I pushed it out 5 minutes ago)? I added an update that will make reversing the order much simpler than before.

    Thread Starter Cat

    (@stitchyrocks)

    Updated to the new version! Looked around but couldn’t find that option. I’m sorry. Could you point it out to me? I’m not the brightest cookie!

    Plugin Contributor Pippin Williamson

    (@mordauk)

    It’s not a visual option, just an option in the code. Place the following into your theme’s functions.php or a custom plugin:

    function pw_edd_reverse_cart( $contents ) {
    	return array_reverse( $contents );
    }
    add_filter('edd_cart_contents', 'pw_edd_reverse_cart');
    Thread Starter Cat

    (@stitchyrocks)

    Added the snippet to the functions.php file for my theme but not seeing the change.
    http://www.billcurreri.com/purchase/

    (Brother is supposed to be shown first).

    Am I doing something wrong?

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Ohhh, sorry, we are talking about different things.

    I thought you meant you wanted to reverse the order of items in the shopping cart, but you’re referring to changing the order of the downloads grid.

    If you go and install the Post Types Order, you will be able to completely control the order / position of each download.

    Thread Starter Cat

    (@stitchyrocks)

    Sweet. Perfect! Thank you, and sorry for the misunderstanding!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Easy Digital Downloads] Reverse the order of songs listed?’ is closed to new replies.