Description
List a local directory in a post or page using shortcode: [dirls dir=”/var/www/dir/” url=”https://example.com/dir/”]
Output HTML: <ul class="dirls"><li class="dirls_mimetype dirls_ext_extension"><a href="$fileurl">$file</a></li></ul>
If $file don’t have any extension class=”dirls_ext_none”.
Installation
First time installation
- Upload the FOLDER ‘wp-DirLs’ to the /wp-content/plugins/
- Activate the plugin ‘WP-DirLs’ through the ‘Plugins’ menu in admin
- Go to ‘Manage / DirLs’ for more instructions
Upgrade from a previous version
- Deactivate ‘WP-DirLs’ through the ‘Plugins’ menu in admin
- Upload the FOLDER ‘wp-DirLs’ to the /wp-content/plugins/
- Activate the plugin ‘WP-DirLs’ through the ‘Plugins’ menu in admin
FAQ
- Can I list a relative directory?
-
Yes, you just need to use a relative directory from your WordPress installation path.
For example:
* WordPress URL: https://example.com/wp/
* WordPress path: /var/www/wp/
* Files URL: https://example.com/files/
* Files path: /var/www/files/
* Shortcode to use: [dirls dir=”../files” url=”https://example.com/files”] - Can I list remote directories?
-
No, just list a local directory.
- I need more help!
-
Visit my plugin page.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WP-DirLs” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP-DirLs” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
Visit my plugin page for the changelog.