List a local directory in a post or page using shortcode.
As of April 2026, WP-DirLs is a WordPress ls plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 1.9K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2012. Last updated 13 years ago — may have compatibility concerns.
List a local directory in a post or page using shortcode: [dirls dir=”/var/www/dir/” url=”http://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”.
| WordPress | 3.3+ requiredTested up to 3.3.2 |
| PHP | false+ required |
Visit my plugin page for the changelog.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.