Title: WP-DownloadManager
Author: Lester Chan
Published: <strong>January 21, 2007</strong>
Last modified: February 13, 2026

---

Search plugins

![](https://ps.w.org/wp-downloadmanager/assets/banner-772x250.jpg?rev=1206752)

![](https://ps.w.org/wp-downloadmanager/assets/icon.svg?rev=978031)

# WP-DownloadManager

 By [Lester Chan](https://profiles.wordpress.org/gamerz/)

[Download](https://downloads.wordpress.org/plugin/wp-downloadmanager.1.69.1.zip)

 * [Details](https://wordpress.org/plugins/wp-downloadmanager/#description)
 * [Reviews](https://wordpress.org/plugins/wp-downloadmanager/#reviews)
 * [Development](https://wordpress.org/plugins/wp-downloadmanager/#developers)

 [Support](https://wordpress.org/support/plugin/wp-downloadmanager/)

## Description

### General Usage

 1.  You Need To Re-Generate The Permalink `WP-Admin -> Settings -> Permalinks -> Save
     Changes`
 2.  To embed a specific file to be downloaded into a post/page, use `[download id="
     2"]` where 2 is your file id.
 3.  To embed multiple files to be downloaded into a post/page, use `[download id="
     1,2,3"]` where 1,2,3 are your file ids.
 4.  To limit the number of embedded downloads shown for each post in a post stream,
     use the `stream_limit` option.
 5.   a. Example: `[download id="2" stream_limit="4"]`
      b. This 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.
 6.  To sort embedded downloads, use the `sort_by` and `sort_order` options.
 7.   a. Example: `[download id="2" sort_by="file_id" sort_order="asc"]`
      b. This will sort the embedded downloads by file ID in ascending order.
      c. Valid values for `sort_by` are: `file_id`, `file`, `file_name`, `file_size`, `
         file_date`, and `file_hits`
 8.  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 desccription, whereas name will only display the filename. Note that this
     will overwrite the “Download Embedded File” template you have in your Download
     Templates.
 9.  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.
 10. 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.
 11. 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.
 12. In order to upload the files straight to the downloads folder, the folder must
     be first CHMOD to 777. You can specify which folder to be the downloads folder
     in Download Options.
 13. You can configure the Download Options in `WP-Admin -> Downloads -> Download Options`
 14. You can configure the Download Templates in `WP-Admin -> Downloads -> Download
     Templates`

### Downloads Page

 1. Go to `WP-Admin -> Pages -> Add New`
 2. Type any title you like in the post’s title area
 3. If you `ARE` using nice permalinks, after typing the title, WordPress will generate
    the permalink to the page. You will see an ‘Edit’ link just beside the permalink.
 4. Click ‘Edit’ and type in `downloads` in the text field and click ‘Save’.
 5. Type `[page_download]` in the post’s content area.
 6. You can also use `[page_download category="1"]`, this will display all downloads
    in Category ID 1.
 7. Click ‘Publish’

### Download Stats (With Widgets)

 1. Go to `WP-Admin -> Appearance -> Widgets`
 2. The widget name is `Downloads`.

### Development

 * [https://github.com/lesterchan/wp-downloadmanager](https://github.com/lesterchan/wp-downloadmanager)

### Translations

 * [http://dev.wp-plugins.org/browser/wp-downloadmanager/i18n/](http://dev.wp-plugins.org/browser/wp-downloadmanager/i18n/)

### Credits

 * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)
 * Icons courtesy of [FamFamFam](http://www.famfamfam.com/)
 * Download Icon by [Ryan Zimmerman](http://www.imvain.com/")

### 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.

## Screenshots

 * [[
 * Admin – Downloads Embedded
 * [[
 * Admin – Downloads Add
 * [[
 * Admin – Download Manage
 * [[
 * Admin – Download Options
 * [[
 * Admin – Download Stats
 * [[
 * Admin – Download Templates
 * [[
 * Admin – Download Templates
 * [[
 * Download Embedded
 * [[
 * Downloads Page

## FAQ

### To Display Most Downloaded

    ```
    <?php if (function_exists('get_most_downloaded')): ?>
        <?php get_most_downloaded(); ?>
    <?php endif; ?>
    ```

 * The first value you pass in is the maximum number of files you want to get.
 * Default: `get_most_downloaded(10);`

### To Display Recent Downloads

    ```
    <?php if (function_exists('get_recent_downloads')): ?>
        <?php get_recent_downloads(); ?>
    <?php endif; ?>
    ```

 * The first value you pass in is the maximum number of files you want to get.
 * Default: `get_recent_downloads(10);`

### To Display Downloads By Category

    ```
    <?php if (function_exists('get_downloads_category')): ?>
        <?php get_downloads_category(1); ?>
    <?php endif; ?>
    ```

 * The first value you pass in is the category id.
 * The second value you pass in is the maximum number of files you want to get.

Default: `get_downloads_category(1, 10);`

## Reviews

![](https://secure.gravatar.com/avatar/8b3936e018a67551c8d02eea4c7413776191d6e82b2bf21ad06931717e10b746?
s=60&d=retro&r=g)

### 󠀁[WP Download Manager Review](https://wordpress.org/support/topic/wp-download-manager-review/)󠁿

 [captkirk1001](https://profiles.wordpress.org/captkirk1001/) July 26, 2025

The plugin is way too complex for an average user. The protection for download takes
too many steps. I found not ever get the preview option only to display. I ask for
a refund within the first 14 days after 13 messages from support. They refused. 
The free version does not have enough features to validate that the extra features
are worth the money

![](https://secure.gravatar.com/avatar/cffe155a79d4d126f03cb6d4e5b7bb3265ec71a01574c3da3ab2fb2a56095ee1?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-16436/)󠁿

 [vectogravic](https://profiles.wordpress.org/vectogravic/) August 26, 2024

This is what i was looking for. Works great with external file

![](https://secure.gravatar.com/avatar/6222650de68be6a475576595f7a43b6fffc8ee7d99d1da6eda39e9e409595184?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-12297/)󠁿

 [p4ssc3](https://profiles.wordpress.org/passce/) November 15, 2022

Très bon plugin / Very great plugin

![](https://secure.gravatar.com/avatar/28268fdc204334d84fe92f59d55a3313fa320bc7b927768439e2b8aa078a601b?
s=60&d=retro&r=g)

### 󠀁[Plugin confusion](https://wordpress.org/support/topic/no-support-available-9/)󠁿

 [bertrand002](https://profiles.wordpress.org/bertrand002/) February 7, 2022 1 reply

I change my rating because it refers to another plugin.

![](https://secure.gravatar.com/avatar/d6b81ee89568588c146fb5611e49fbcff127433d69c017c58fe0981874ddb53b?
s=60&d=retro&r=g)

### 󠀁[SCUMS & SCAMMERS](https://wordpress.org/support/topic/scums-scammers/)󠁿

 [rytiskat](https://profiles.wordpress.org/rytiskat/) April 8, 2021 1 reply

NOT ONLY THAT THEY DID NOT REFUND THE MONEY THAT THEY WERE LEGALLY OBLIGATED TO 
DO DURING 14DAYS PERIOD AFTER PURCHASING, AFTER THEIR PLUGINS HAD PROBLEMS TO FUNCTION,
THEY asked for logins to fix it and they messed the whole website up. Will never
do business again with them they just take your money and run away, Plugins are 
coded by idiots, it’s impossible to combine it to modern plugins or themes, they
keep telling you to buy more plugins to make it work as it should. Seriously stay
away from them.

![](https://secure.gravatar.com/avatar/e89b1e7ae741e19214a63b7e073f08d212b764ed5324759e755627418c6006e7?
s=60&d=retro&r=g)

### 󠀁[Do not Support](https://wordpress.org/support/topic/do-not-support/)󠁿

 [chicho1969](https://profiles.wordpress.org/chicho1969/) November 27, 2020

there is not support. After a month still waiting for support.

 [ Read all 38 reviews ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/)

## Contributors & Developers

“WP-DownloadManager” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

“WP-DownloadManager” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-downloadmanager/contributors)
for their contributions.

[Translate “WP-DownloadManager” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-downloadmanager)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-downloadmanager/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-downloadmanager/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-downloadmanager/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-downloadmanager/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### Version 1.69.1

 * FIXED: Use file_id to fetch file again before deleting files.
 * FIXED: Don’t allow directory traversal for download_path

### Version 1.69

 * FIXED: Only allow certain files to be uploaded based on `wp_check_filetype_and_ext()`

### Version 1.68.12

 * FIXED: Add a warning to let user know that if any users manage to guess the direct
   file URI, he will be able to download the file as well.

### Version 1.68.11

 * FIXED: Ensure that Download Path starts only with your wp-content folder for 
   additional security.

### Version 1.68.10

 * FIXED: Allow form in Download Page Footer template.

### Version 1.68.9

 * FIXED: XSS file_sortby and file_sortorder in download-manager.php

### Version 1.68.8

 * FIXED: Download Categories not parsing properly.

### Version 1.68.7

 * FIXED: esc_attr()

### Version 1.68.6

 * NEW: Add filter wp_downloadmanager_file_extension_image and wp_downloadmanager_file_extension_images_path
 * FIXED: XSS in download-manager.php. Props to Ngo Van Thien and Patchstack.

### Version 1.68.5

 * FIXED: Validation of remote file to prevent Server Side Request Forgery (SSRF)
   as reported by WordPress Plugin Review Team

### Version 1.68.4

 * NEW: Bump WordPress 5.4
 * FIXED: Unix timestamp sorting order

### Version 1.68.3

 * NEW: Bump WordPress 5.3

### Version 1.68.2

 * NEW: WordPress 4.7
 * FIXED: Pagination not working
 * FIXED: Remove eregi
 * FIXED: Remote file URL will get be broken, if the remote file URL gets really
   ugly

### Version 1.68.1

 * NEW: Uses wp_kses_post() for better field sanitization

### Version 1.68

 * NEW: Use translate.wordpress.org to translate the plugin
 * FIXED: Some WP doesn’t have wp_user_level because it has been deprecated

### Version 1.67

 * FIXED: Notices

### Version 1.66

 * FIXED: Notices in Widget Constructor for WordPress 4.3

### Version 1.65

 * FIXED: Integration with WP-Stats

### Version 1.64

 * NEW: Supports WordPress MultiSite Network Activate
 * NEW: Uses native WordPress uninstall.php
 * FIXED: Notices

### Version 1.63

 * NEW: Added %FILE_EXT% template variable that output the file extension
 * FIXED: Editor button was outputting the wrong shortcode.
 * FIXED: ReferenceError: downloadssEdL10n is not defined if TinyMCE 4.0 is loaded
   outside the Add/Edit Posts/Pages.
 * FIXED: Added backward compatibility with [download=1] in order not to break older
   downloads.

### Version 1.62

 * NEW: Uses Dash Icons
 * NEW: Supports TinyMCE 4.0 For WordPress 3.9
 * NEW: Added sorting to embedded downloads. Props ksze.
 * NEW: You can now choose to display file sizes in either binary base or decimal
   base (i.e. KiB vs KB), using either `%FILE_SIZE` or `%FILE_SIZE_DEC`; `%CATEGORY_SIZE`
   and `%TOTAL_SIZE` also have their `_DEC` counterparts.. Props ksze.

### Version 1.61

 * FIXED: Added nonce to Options. Credits to Charlie Eriksen via Secunia SVCRP.

### Version 1.60 (08-11-2010)

 * NEW: Display File ID In Message After Adding A File
 * FIXED: Bug In Remote File With Using Nice Permalink and File Name

## Meta

 *  Version **1.69.1**
 *  Last updated **2 months ago**
 *  Active installations **3,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-downloadmanager/), [Persian](https://fa.wordpress.org/plugins/wp-downloadmanager/),
   [Russian](https://ru.wordpress.org/plugins/wp-downloadmanager/), and [Slovak](https://sk.wordpress.org/plugins/wp-downloadmanager/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-downloadmanager)
 * Tags
 * [download](https://wordpress.org/plugins/tags/download/)[downloads](https://wordpress.org/plugins/tags/downloads/)
   [file](https://wordpress.org/plugins/tags/file/)[files](https://wordpress.org/plugins/tags/files/)
   [manager](https://wordpress.org/plugins/tags/manager/)
 *  [Advanced View](https://wordpress.org/plugins/wp-downloadmanager/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  25 5-star reviews     ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/?filter=4)
 *  [  3 3-star reviews     ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/?filter=2)
 *  [  7 1-star reviews     ](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/)

## Contributors

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-downloadmanager/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://lesterchan.net/site/donation/)