Mô tả
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”.
Cài đặt
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
Hỏi đáp
- Can I list a relative directory?
-
Yes, you just need to use a relative directory from your WordPress installation path.
For example:
* WordPress URL: http://example.com/wp/
* WordPress path: /var/www/wp/
* Files URL: http://example.com/files/
* Files path: /var/www/files/
* Shortcode to use: [dirls dir=”../files” url=”http://example.com/files”] - Can I list remote directories?
-
No, just list a local directory.
- I need more help!
-
Visit my plugin page.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
Dịch “WP-DirLs” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
Visit my plugin page for the changelog.