Plugin Directory

WP List Files

Author: Colin Helvensteijn

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.

  • /dir and /linkto should be relative to your site root, or this won't work.
  • /dir should be a valid directory that's readable by anyone.

If you get Empty or something like it and you know there are files in the specified directory, check the 2 points mentioned above.

Tags:

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)