WP List Files is a WordPress plugin that walks trough a given directory (and its subdirectories if so desired), generates a nested list form it and includes it in a page or a post. It includes a JavaScript to allow collapsing and expanding of directories. If no JavaScript support is available, it gracefully falls back to fully expanded.
Visit the plugin home page to see it in action.
Including <!--list files "/dir"--> in a page or post will insert a list of
files in /dir. <!--list files "/dir" "/linkto"--> inserts a list of files
in /dir, but makes the links point to /linkto.
If you get Empty or something like it and you know there are files in the specified directory, check the 2 points mentioned above.




