» Changelog
-
Version 1.00 (01-10-2007)
» Installation Instructions
-
Open wp-content/plugins Folder
-
Put:
Folder: downloadmanager
-
Activate WP-DownloadManager Plugin
-
You Need To Re-Generate The Permalink (WP-Admin -> Options -> Permalinks -> Update Permalink Structure)
-
Refer To Usage For Further Instructions
» Upgrade Instructions
From v1.0x To v1.00
-
Deactivate WP-DownloadManager Plugin
-
Open wp-content/plugins Folder
-
Put/Overwrite:
Folder: downloadmanager
-
Activate WP-DownloadManager Plugin
-
You Need To Re-Generate The Permalink (WP-Admin -> Options -> Permalinks -> Update Permalink Structure)
-
Refer To Usage For Further Instructions
» Usage Instructions
General Usage
-
To embed a specific file to be downloaded into a post/page, use [download=2] where 2 is your file id.
-
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 first CHMOD to 777. You can specify which folder to be the downloads folder in Download Options.
-
You can configure the Download Options in 'WP-Admin -> Downloads -> Download Options'
-
You can configure the Download Templates in 'WP-Admin -> Downloads -> Download Templates'
Downloads Page
-
Go to 'WP-Admin -> Write -> Write Page'
-
Type any title you like in the post's title area
-
Type '[page_downloads]' in the post's content area (without the quotes)
-
Type 'downloads' in the post's slug area (without the quotes)
-
Click 'Publish'
Download Stats (With Widgets)
-
Activate WP-DownloadManager Widget Plugin
-
Go to 'WP-Admin -> Presentation -> Widgets'
-
To Display Most Downloaded
-
Drag the Most Downloaded Widget to your sidebar
-
You can configure the Most Downloaded Widget by clicking on the configure icon
-
To Display Newest Downloads
-
Drag the Newest Downloads Widget to your sidebar
-
You can configure the Newest Downloads Widget by clicking on the configure icon
-
Click 'Save changes'
Note
- The download will not work if you are using /%postname%/%post_id/ as your permalink.
Download Stats (Outside WP Loop)
-
To Display Most Downloaded
-
Use:
<?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 Newest Downloads
-
Use:
<?php if (function_exists('get_newest_downloads')): ?>
<?php get_newest_downloads(); ?>
<?php endif; ?>
The first value you pass in is the maximum number of files you want to get.
Default: get_newest_downloads(10);
-
To Display Downloads By Category
-
Use:
<?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);