pippinsplugins/Easy-Digital-Downloads — pull request #320 by pippinsplugins (2012-09-11 06:12:49+00:00)
Title: Added complete new templating system for the [downloads] short code

This new templating system is used primarily in the [downloads] short code, but can be used just about anywhere (the checkout cart for example), and allows users to easily customize the layout of the short code output.

All template files are located inside of includes/templates/.

If a user wants to use their own template, all they have to do is copy the files into a folder in their theme called "edd_templates" (which is already used for the checkout cart template).

Template files include:
* shortcode-content-title.php
* shortcode-content-image.php
* shortcode-content-price.php
* shortcode-content-cart-button.php
* shortcode-content-excerpt.php
* shortcode-content-full.php

I did have to make a few sacrifices with adding these new template files. Some of the short code parameters no longer work, such as excerpt length, thumbnail size, title wrap, and fallback, but I decided these were pretty minor considering users can now customize the entire HTML of the output.