FAQ Database Discussion Community

Conditional text for certain categories within taxonomy.php

I am building a Wordpress site using 'Easy Digital Downloads'. The downloads have their own 'categories'. To display an archive of those categories (different from the standard archive.php) I am using a template called taxonomy-download_category.php as specified in their documentation. This works perfectly and I can set up the category...

Direct download for free products in Easy Digital Downloads

How can i allow users to directly download( no checkout page ) the files that are free in Easy Digital Downloads Plugin? I want something like this : <?php if( edd_get_download_price( get_the_ID() ) == 0 ) { $download_link = DIRECT_DOWNLOAD_URL; ?> <a href="<?php echo $download_link; ?>" class="download-button">Download Now!</a> <?php }...