Skip to content

Instantly share code, notes, and snippets.


Michael Uno michaeluno

View GitHub Profile
amdrew / gist:7225903
Last active Mar 22, 2016
Add to cart links in EDD
View gist:7225903
<!-- As indicated by the docs -->
<a href="">Purchase This</a>
<!-- Following the docs, this doesn't work and adds the download twice -->
<!-- URL looks like this -->
<a href=";download_id=10">Buy Now</a>
<!--This does work - note the / after checkout -->
<!-- URL looks like this -->