About this plugin
This plugin requires Easy Digital Downloads.
Using the included [edd_file_names] shortcode you’ll be able to list a download’s file names (not file paths). This is useful for showing customers what is included when they purchase your product. The shortcode also takes 2 parameters, title and ID.
Using the ID you’re able to show a download’s file names from another post/page/download.
Shortcode usage
Basic listing of the current download in an ordered list
[edd_file_names]
Custom title above the list
[edd_file_names title="Files Included"]
Show the download’s files by using it’s ID. Useful when you are also using the [purchase_link] shortcode on another page/post
[edd_file_names id="123" title="Another download's files"]
Modifying the HTML markup
This example shows how you can modify the HTML markup. Heading has been replaced with an <h1> tag, and the list is now an unordered list. php or a custom plugin:
>
>
> </ul>
php endif;
$html = ob_get_clean(); return $html; } add_filter( 'edd_list_file_names', 'sumobi_edd_list_file_names', 10, 3 );
Extensions for Easy Digital Downloads
com/extensions/
Tips for Easy Digital Downloads
com/blog
Stay up to date
Follow me on Twitter
com/sumobi_
Become a fan on Facebook
com/sumobicom