外掛說明
Download Directory allow you to create a download directory website. You will be abble to provide to your visitor a listing of software, freeware, shareware …
Work with mostly any theme
Multilingual ready : currently translated in French and English. .Pot file provided, can be fully translated in any language.
Slug translatable: Every archive, post, categories, tags … link are translatable. it’s mean than you can provide post slug in your language, like :
- site.dev/download/wordpress
- site.dev/descargas/wordpress
- site.dev/telecharger/wordpres
- …
With Download Directory, you can track the number of times each software are downloaded.
Visitor can also register to an update alert list, allowing them to receive an email alert when new release are available to their favorites softwares.
Updating the version field of a sofware automatically send an email alert to the suscriber of this current software.
User are also able to unregister themself from an update list whenever they want, simply by following the link at the bottom of the mail alerte they have received.
When user click on “download”, they are redirected to a “downloading” page, providing an automatic loading of the download, incrementing download counter and allowing you to display whatever you want in this page (via widgets), like advertising, etc …
This page also display the download link, and, in case it is broken, a link to the website editor, and even link to miror link if you provided it.
You can use 3 miror links, more the direct download link.
French Demo at http://www.patricelaurent.net/telechargements/
See it in action here : http://www.patricelaurent.net/telecharger/wordpress/download-directory/
Usage
- Create a new Downloads, as you will normally do for a normal post.
- In the “software informations” meta box, provide the version, size, download link, editor website, editor url miror link if available
- Choose a category, add tags et license type (eg: freeware, shareware,etc..)
- Add featured image to illustrate it
- publish
Advanced usage
You can use your own template for archive, category, tags and single file.
For archives pages, just create an file called archive-down_repo.php in your current theme directory.
For single page, simply create a single-down_repo.php file in your theme directory.
Adding your own css and style.
create a css file in your theme directory. Name it as you want.
then add this code in your theme function file (or in any personnal plugin):
add_filter('down_repo_style','my_custom_css',10,1);
function my_custom_css($css){
$css=get_stylesheet_directory_uri().'/mycss.css';
return $css;
}
This will symply replace the current css file of the plugin by your one.
If you jsut want to disable the css of the plugin, just add a null filter
add_filter('down_repo_style',function(){return null;},10,1);
螢幕擷圖
安裝方式
From your WordPress dashboard
- Visit ‘Plugins > Add New’
- Search for ‘download-directory’
- Activate Download Repository Pro from your Plugins page.
- Enjoy
From WordPress.org
- Download the plugin.
- Upload the ‘download-directory’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate the plugin from your Plugins page.
- Enjoy
From GitHub
- Download the plugin.
- Upload the ‘download-directory’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate the plugin from your Plugins page.
- Enjoy
常見問題集
- 404 not found Error for the post, category or tags
-
You should refresh your rewrite links : Go to Admin > Settings > Permalink.
Clic the Save button. This will refresh your permalink
使用者評論
參與者及開發者
變更記錄
1.0.1
Fix text domain for localization.
1.0
- Initial Release.