该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP-DirLs

描述

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”.

Plugin page at WordPress Plugins Development #menorcadev.

安装

First time installation

  1. Upload the FOLDER ‘wp-DirLs’ to the /wp-content/plugins/
  2. Activate the plugin ‘WP-DirLs’ through the ‘Plugins’ menu in admin
  3. Go to ‘Manage / DirLs’ for more instructions

Upgrade from a previous version

  1. Deactivate ‘WP-DirLs’ through the ‘Plugins’ menu in admin
  2. Upload the FOLDER ‘wp-DirLs’ to the /wp-content/plugins/
  3. Activate the plugin ‘WP-DirLs’ through the ‘Plugins’ menu in admin

Plugin page at WordPress Plugins Development #menorcadev.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“WP-DirLs” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP-DirLs”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Visit my plugin page for the changelog.

Plugin page at WordPress Plugins Development #menorcadev.