Apraksts
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”.
Uzstādīšana
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
BUJ
- 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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WP-DirLs” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WP-DirLs” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
Visit my plugin page for the changelog.