To overrule either of these payment only add order=. desc. from the shortcode parameters. target This part lets you set a. target. for the links to the listed files This is usually used to inaugurate the files in new window..
Let's say you're using WordPress Media settings so we can expect your uploads folder to be in wp-content uploads mm yy with this in mind the shortcode. folder. predict will in relative to this.
If you have you disabled the setting to store uploads in the mm yy folder structure you can do this within Settings -> Media and wanted to display that same issue you will use this shortcode..
Variables that can be used with the custom templates are as follows. {name} This output the filename. {size} This output the filesize. {url} This output the file url.
Say you have folder on webserver with 30 issues you want to list but you don't want to tediously write out the html load them as system to your WordPress page or edit your htaccess to allow directory listing.
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Added a. prettyname. part to the shortcode which removes dash underscores and the extension when set to. true. replaces them with spaces adds spaces number categories and then trims everything nicely.
Added a. regexstrip. part to the shortcode which removes away categories based on given regex dangle from Note will throw errors if the regex isn't well formatted..
Changed the code to recheck if the directory live not after trying to get the files this patches the number with warning messages from being displayed while having debug mode enabled..
Added output to show if the folder was not found or if there were no issues of the extension s found in Note These messages are wrapped in divs with a. mmm-warning. books so they can be referred to be hidden...
Read more