m1.DownloadList

Description

This plugin easily displays the folders and files from a selected directory. It can be placed by shortcode with the parameters path and target in any post. Uploads must be done by a separate ftp program. No managing options.

  • compatible up to PHP7.1 (since v0.11)
  • need PHP extension mb_string

available optional shortcode parameters

  • path = directory path, starting by web root
  • target = browser window name
  • sort = ASC/DESC
  • label = custom top level label
  • nosize = displays no file size
  • hidedirs = displays no folders, only files
  • filetype = filter files by their extension
  • noext = hide the file extensions
  • nobreadcrumb = hide breadcrumb / title

shortcode examples

  1. displays content of wp-content/uploads/: [m1dll]
  2. displays content of your/foldername/here/: [m1dll path="your/foldername/here/"]
  3. displays content of your/foldername/here/ and sort descending: [m1dll path="your/foldername/here/" sort="DESC"]
  4. displays content of your/foldername/here/, open files in a new window: [m1dll path="your/foldername/here/" target="_blank"]
  5. displays content of your/foldername/here/, change label ‘downloads’ to ‘our downloads’: [m1dll path="your/foldername/here/" label="our downloads"]
  6. displays content of wp-content/uploads/, displays no file size: [m1dll nosize="1"]
  7. displays content of wp-content/uploads/, displays no folders: [m1dll hidedirs="1"]
  8. displays content of wp-content/uploads/, displays only pdf- and docx-documents: [m1dll filetype="pdf,docx"]
  9. displays content of wp-content/uploads/, displays no file extensions: [m1dll noext="1"]
  10. displays content of wp-content/uploads/, displays no breadcrumb: [m1dll nobreadcrumb="1"]

Screenshots

  • place the shortcode in your post
  • display the directory listing

Installation

  1. Upload the folder m1.downloadlist to your directory (wp-config/plugins/)
  2. Activate the Plugin
  3. place the shortcode in your post
  4. test and give us a review, thx! <3: https://wordpress.org/support/view/plugin-reviews/m1downloadlist

FAQ

Installation Instructions
  1. Upload the folder m1.downloadlist to your directory (wp-config/plugins/)
  2. Activate the Plugin
  3. place the shortcode in your post
  4. test and give us a review, thx! <3: https://wordpress.org/support/view/plugin-reviews/m1downloadlist
Can I manage files with “media” in WordPress?

No. Just upload your files and folders to an appreciate folder by FTP and link it by the shortcode [m1dll path="your/foldername/here/"].

I got problems with special characters in folders and/or filenames. How can I fix it?
  1. Check PHP version (suggested PHP7.0 or above).
  2. Check enabled PHP module mb_string is enabled.
  3. Check enabled UTF8 Apache Headers. (Ask your provider in doubt.)
  4. Check file permissions.

Reviews

Awesome

Does exactly what we needed to do for our organization.
Very useful plug-in, it’s really helpful

Thank you so much

small and beautiful!

it does exactly what i need! i was looking for hours for a plugin like this – happy that i found it – my costumer will be satisfied.
** works with 4.7.3 **

thx a lot!

How to Refresh List of Files

Hi Support
How do you get the list of files to refresh? I have a folder that is uploaded but unless I change the shortcode to DESC and back to ASC the list doesn’t refresh.

Thanks

Read all 12 reviews

Contributors & Developers

“m1.DownloadList” is open source software. The following people have contributed to this plugin.

Contributors

Translate “m1.DownloadList” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.11

  • feature: compatible up to PHP7.1
  • stability enhancements

0.10

  • bugfix: handling with UTF-8 filenames

0.9

  • feature: new parameter ‘nobreadcrumb’

0.8

  • bugfix: sort order

0.7

  • feature: new parameter ‘hidedirs’
  • feature: new parameter ‘filetype’; thx@noerw
  • feature: new parameter ‘noext’; thx@rwdrummond
  • bugfix: remove anoying PHP-notices / debugging-messages; thx@gonowjohn

0.6

  • feature: new parameter ‘label’
  • feature: new parameter ‘nosize’

0.5

  • feature: can handle more than 1 shortcode

0.4

  • feature: added localization german & english (+ pot-file) hope someone help to translate it!

0.3

  • bugfix: display folder and file icons (thx to Lutz Müller)
  • feature: sort ascending and descending

0.2

  • bugfix: utf8_encode
  • bugfix: plugin path

0.1

  • initial release