Elementor plugin to generate a file list from an existing folder and rendering .index.html
files as headers.
Generates pure HTML, you may want to style it, otherwise you get a ordered list with links.
Watch out for
File List Pro
to be able to list folders and more.
-
In your Wordpress installation, within the admin area, sidebar
Plugins
>Installed Plugins
>Add New
and upload the the ZIP from step 1. -
Create a new
Elementor Page
, use the search and typeFile List
, drag that widget to our main area. -
Configure your path - read the
Recommendations
below !
You can add your style in the custom style area of the element. The following elements and classes are used
div.bfl-filelist
blockquote.readme
blockquote.readme.debug / if debug is enabled and and no index is found
ol
li
a
span.name
span.sep.no1
span.size
span.sep.no2
span.changed
small.debug / if debug is enabled
...
Error (not usable path):
div.bfl-filelist.error
code
If you have your files elsewhere, link (symlink/haedlink - what ever your system is and what is enabled in your nginx/apache config) your folder into the uploads folder to have inherit any protection configured on your upload folder.
This also keeps the files in reach for the download link to work.
If you need to protect your folder or any specific file or filetype with a password, and you are using apache:
Add a .htaccess
and a .htpasswd
to trigger a Basic Auth password dialog when accessing it.
This plugin does nothing special to the files, just genertes the link, so any other plugin protecting files would work (you might need to configure the path-prefix).
Automatic updates are supported using this repo. Just install the plugin first.
- added file change date
- added caching for update checks
- added update functionality
- fixed url path being wrong
- added Elementor requirement info
- fixed typos to what was intended
- added more info to the readme
- inital.