Place the following code in your page.php to segment downloads by category
<?php
$terms = get_terms( 'dlm_download_category' );
foreach ( $terms as $term ) {
echo "<h2>" . $term->name . "</h2>";
$slug = $term->slug;
echo do_shortcode( "[downloads category='$slug']" );
}
?>
Did you know! Our Page Addon extension offers you a shortcode to list downloads, categories, tags, and show info pages about each of your resources.