Customizing the Download History Template
The download history is shown on any page with the [download_history]
shortcode. It will show the name and download links for every file the current user has purchased. The exact layout and display of these elements can be easily modified through a template file placed inside of your theme.
The template file used to display the download history is located in
wp-content/plugins/easy-digital-downloads/templates/history-downloads.php. To modify it, do two things:
- Create a folder called edd_templates inside of your currently active theme’s directory.
- Copy history-downloads.php to the new folder created in 1.
Once you have created the
edd_templates directory and copied the file over, you can make any change you wish to the file and your changes will be reflected in the [download_history]
shortcode.