m1.DownloadList

m1.DownloadList Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 13,405 downloads
m1.DownloadList Icon

Try plugin: m1.DownloadList

We'll create fresh WordPress site with m1.DownloadList installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About m1.DownloadList

This plugin easily displays the folders and files from a selected directory. It can be placed by shortcode in any post.

17


3


0


1


0

updated: 1 year ago
since: 9 years ago
author: maennchen1.de

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.2
  • need PHP extension mb_string

available optional shortcode parameters

  • path = directory path, starting by web root (default: wp-content/uploads/)
  • target = browser window name
  • sort = by name ASC/DESC (default: ASC)
  • sort-order = filename/filetype/ftime/filetime/foldertime (default: filename)
  • label = custom top level label
  • nosize = displays no file size
  • hidedirs = displays no folders, only files
  • filetype = (comma separated list) filter files by their extension
  • hidefiletype = (comma separated list) hide files with filetype
  • hidefilename = (comma separated list) hide named files and folders
  • noext = hide the file extensions
  • nobreadcrumb = hide breadcrumb / title
  • ftime = display file and folder modification date and time (standard = “1” or use date formatting like “Y-m-d H:i”), see PHP date formatting
  • filetime = same as ftime, just for files
  • foldertime = same as ftime, just for folders

(most of it can be combined together)

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/, do not display pdf- and docx-documents: [m1dll hidefiletype="pdf,docx"]
  10. displays content of wp-content/uploads/, do not display file secret.txt and secret.docx: [m1dll hidefilename="secret.txt,secret.docx"]
  11. displays content of wp-content/uploads/, displays no file extensions: [m1dll noext="1"]
  12. displays content of wp-content/uploads/, displays no breadcrumb: [m1dll nobreadcrumb="1"]
  13. displays content of wp-content/uploads/, with file and folder time with own format [m1dll ftime="Y-m-d, H:i"]
  14. displays content of wp-content/uploads/, with file and folder date and time (standard from WordPress) [m1dll ftime="1"]
  15. displays content of wp-content/uploads/, with file and folder self formated date [m1dll ftime="Y-m-d"]
  16. displays content of wp-content/uploads/, with file date and time (standard from WordPress) [m1dll filetime="1"]
  17. displays content of wp-content/uploads/, with folder date and time (standard from WordPress) [m1dll foldertime="1"]