Theming

How to fix the strange HTML markup in download titles

A very common support issue on the EDD forums is “Why do my download titles look like this?”. Customers are referring to the strange HTML markup that appears in the product’s titles. Here’s how you can fix it.

List categories with links

This quick tutorial will show you how to list EDD’s categories with a link through to each one. If know a little bit of PHP, and you start with something simple, you can gradually build the HTML and style it accordingly with CSS to match your site’s design.

Enable drag and drop download ordering

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.

How to show the discount field by default

When discount codes are active in Easy Digital Downloads, a link appears at checkout, enabling customers to enter a discount code by clicking the “Click to enter it” link. This quick tutorial will modify the discount field to be shown by default, without any additional clicking.

Custom Button Images

In order to use your own images for EDD buttons, navigate to Downloads > Settings > Styles and change Default Button Styles to Plain Text. You can then use CSS to style. Here’s an example which allows you to change the image for the “Purchase” button: .edd-submit.plain { background: url(PATH_TO_IMAGE) !important; padding: 6px 8px !important; } Adjust the […]

Cart Item Templates

With the release of EDD 1.5, you can now style the look and layout of widget cart items. The template files used to display cart items are located in wp-content/plugins/easy-digital-downloads/includes/templates/ widget-cart-checkout.php widget-cart-empty.php widget-cart-item.php To modify them, do two things: Create a folder called edd_templates inside of your currently active theme’s directory. Copy the above files to the new folder […]

Customizing the Plugin CSS

If you want to modify the default styling included with the plugin, you can very easily do so in an upgrade-safe manner by copying the default CSS file to a specific folder inside of your theme, and then modifying the file to suit your needs.

Customizing the Download History Template

The download history is shown on any page with the [download_history] short code. It will show the name and download links for every file the current user has purchased. The exact layout and display of these elements can be easily modified through a template file placed inside of your theme.