WP-DownloadManager
WP-DownloadManager keeps a library of downloadable files, counts how often each one is fetched, and gives you a downloads page, a feed, a widget and a shortcode to put them in front of your readers. Files can live in a folder on your server or anywhere else on the web, and each one can be limited to
About this tool.
WP-DownloadManager keeps a library of downloadable files, counts how often each one is fetched, and gives you a downloads page, a feed, a widget and a shortcode to put them in front of your readers. Files can live in a folder on your server or anywhere else on the web, and each one can be limited to a role.
Features
- A downloads page with categories, search, sorting and paging.
- A [download] shortcode, plus a button on both the Visual and Text editors.
- Per-file permissions, from everyone down to administrators only.
- Local files, uploads and remote URLs in one library.
- A downloads RSS feed.
- A widget for most downloaded, recent downloads and downloads by category.
- Every piece of markup is a template you can edit.
Donations
I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
Usage
- 01To embed a specific file to be downloaded into a post/page, use [download id="2"] where 2 is your file id.
- 02To embed multiple files to be downloaded into a post/page, use [download id="1,2,3"] where 1,2,3 are your file ids.
- 03To limit the number of embedded downloads shown for each post in a post stream, use the stream_limit option. Example: [download id="2" stream_limit="4"]
- 04This will only display the first 4 downloads for the post when rendered in a post stream, and display the full list of downloads when viewing the single post.
To sort embedded downloads, use the sort_by and sort_order options.
- 05Example: [download id="2" sort_by="file_id" sort_order="asc"]
- 06This will sort the embedded downloads by file ID in ascending order.
- 07Valid values for sort_by are: file_id , file , file_name , file_size , file_date , and file_hits
To choose what to display within the embedded file, use [download id="1" display="both"] where 1 is your file id and both will display both the file name and file description, whereas name will only display the filename. Note that this will overwrite the “Download Embedded File” template you have on the Templates tab. To embed files as well as categories, use [download id="1,2,3" category="4,5,6"] where 1,2,3 are your file id and 4,5,6 are your category ids. If you are using Default Permalinks, the file direct download link will be http://yoursite.com/index.php?dl_id=2 . If you are using Nice Permalinks, the file direct download link will be http://yoursite.com/download/2/ , where yoursite.com is your WordPress URL and 2 is your file id. The direct download category link will be http://yoursite.com/downloads/?dl_cat=3 , where yoursite.com is your WordPress URL, downloads is your Downloads Page name and 3 is your download category id. In order to upload the files straight to the downloads folder, the folder must be writable by the web server. You can specify which folder to be the downloads folder in WP-Admin -> Downloads -> Settings . You can configure everything else in WP-Admin -> Downloads -> Settings , on the Settings and Templates tabs.