Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

WP-DirLs

Disgrifiad

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.

Gosod

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.

Cwestiynau Cyffredin

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.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“WP-DirLs” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “WP-DirLs” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

Visit my plugin page for the changelog.

Plugin page at WordPress Plugins Development #menorcadev.