Tag Archives: Easy Digital Downloads

Disable WP-HTML-Mail template for specific emails

WP HTML Mail is a free WordPress plugin to customize all your outgoing emails. In most cases the plugin just wraps a container around existing emails and applies some nice styling.

For some plugins like WooCommerce and Easy Digital Downloads it offers advanced styling features.

But many other plugins already use their own template system. WP HTML Mail can’t detect these other templates, but it has a filter to manually disable the template for some emails.

Just add one of the functions below to your themes functions.php

Disable Email Template by subject keyword

Disable Template if message contains a specific string

You can change the functions to use receiver, attachment or anything else to detect your email.

Order Easy Digital Downloads by Menu Order

The Easy Digital Downloads [ downloads ] shortcode offers serveral order possibilities by default.

  • price
  • id
  • random
  • post_date
  • title

If you need to order your downloads manually it’s a little bit more tricky.

Sort EDD Downloads

To order the downloads in the backend I use the plugin CMS tree page view.

  • Enable sorting of downloads in Settings -> CMS tree page view
  • Go to Downloads -> Tree view
  • Drag & Drop Downloads to the preferred order

Enable order in your theme

Add the following function to your themes functions.php