Plugin Author
jakeob
(@jakeob)
Hello Perchera,
as stated in plugin description: “Plugin register path to folder within wordpress upload folder”. You cannot list folders outside WP Upload folder.
As you correctly pointed out in support forum the example “/wp-content/yourfolder” is wrong now and I will change it with the next update. It is an old text from plugin’s older version that allowed users to list any folders from the FTP without limitations. This was a security risk and in order to be able to post the plugin to WordPress Repository I had to limit the listing to WP Upload folder only.
In case you need to list folders outside the WP Upload folder this plugin is not for you and you would have to find a plugin outside official WordPress Repository, build one yourself or modify this one.
Thank you for your reply jakeob.
It’s a pity. I never liked the wp-content/uploads location for my media files and that’s why i use /uploads (or /media or /images…) instead.
Again thank you
Plugin Author
jakeob
(@jakeob)
A little tip – if you register your custom upload folder as official WP Upload folder path (basically rewrite destination of WP Upload folder), you probably should be able to use the plugin since I am using the inbuilt wp_upload_dir() function. I havent tested this tho.
I released a new version today, with the correct example. Thank you for letting me know that it was wrong.
Argh, my custom folder seems to be (official?) path in my wordpress, i mean, media library, plugins etc are there by default.
I’ve read a lot about the wp_upload_dir function but i do not dare to mess with my functions files.
Wp-config is already set to that custom folder, i guess i have to do sth else but as said i don’t dare to.
Just thinking aloud, not asking your for directions to do it 😉
I really appreciated your plugin, however in order to make it perfect for my needs I need to change the style of the icons, I followed your explanation but I find it very difficult to find the files to modify and how. I’m not very experienced in wordpress.
Plugin Author
jakeob
(@jakeob)
There are no icon files to modify. Icons are added directly to classes as background url in base64. Therefore you need to override these classes background url.
For example basic folder icon is class is .folder-icon
and to override it you can do something like this:
.folder-icon {
background: url(your-base64-image-here) !important;
}
You can convert images to base64 for example here: https://www.base64-image.de/