الوصف
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”.
التنصيب
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
الأسئلة المتكررّة
- 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.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
Visit my plugin page for the changelog.
