Super lightweight download manager – simply add a link to your attachment page: your URLs are hidden & your downloads are logged. Simples!
Author: | Ian Young (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 4.5.4 |
Plugin version: | 1.031 |
Added to WordPress repository: | 13-07-2016 |
Last updated: | 08-09-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://findshorty.com/ |
Total downloads: | 1 579 |
Active installs: | 10+ |
Click to start download
|
FAQ
Where are the logs?
You can find your logs on the “edit post” page in the dashboard.
If you’re viewing your media library as a grid, make sure you click the “Edit more details” link from within the dialog.
If your media library is in list format, you’ll see a Downloads column showing you the total downloads for that item.
Clicking the download count, or the edit link, will take you to the edit post page, and the logs are towards the bottom.
Can I change the file extensions people can download?
Yes – to change the file extensions that you want to allow people to download (instead of serving up the attachment page for that file), add the following to your theme’s functions.php file.
add_filter('dwnldr_extensions', 'my_dwnldr_extensions');
function my_dwnldr_extensions( $extensions ) {
return array('.pdf','.jpg','.jpeg', etc...);
}
Can I add to the log?
You can also change, or add to, the data you want to log when a person downloads a file with the following.
add_filter('dwnldr_log', 'my_dwnldr_log');
function my_dwnldr_log( $data ) {
$mydata = array(
'anything_you_like' => 'some data about the download'
);
return array_merge($data, $mydata);
}
ChangeLog
1.031
Fixed php warning in logs
1.03
Added custom logs to download log table
Added “Downloads” count column to media library table
1.02
Additional header in forced download to prevent OSX Safari users getting nonsense
Readme update
1.01
User agent string output wrapped in htmlentities
1.0