這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Download Directory

外掛說明

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

  1. Create a new Downloads, as you will normally do for a normal post.
  2. In the “software informations” meta box, provide the version, size, download link, editor website, editor url miror link if available
  3. Choose a category, add tags et license type (eg: freeware, shareware,etc..)
  4. Add featured image to illustrate it
  5. 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);

螢幕擷圖

  • List downloads with views
  • The metabox of custom post type Downlaods with software informations
  • Ajax Alert subscription

安裝方式

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘download-directory’
  3. Activate Download Repository Pro from your Plugins page.
  4. Enjoy

From WordPress.org

  1. Download the plugin.
  2. Upload the ‘download-directory’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate the plugin from your Plugins page.
  4. Enjoy

From GitHub

  1. Download the plugin.
  2. Upload the ‘download-directory’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate the plugin from your Plugins page.
  4. 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

使用者評論

2017 年 3 月 3 日
%down_cat% is not done properly in the plugin. Get lots of 404 and 400 Bad Request errors. Won't even work with a new bare wordpress install. If you leave a comment on a post it will return 400 error. With "%down_cat%" literal in the url.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Download Directory〉的開發相關工作。

參與者

將〈Download Directory〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

Fix text domain for localization.

1.0

  • Initial Release.