download images from wp-content/uploads/year/month/DSC_123.jpg

Thank you for all the answers, when I try mywebsite.com/wp-content/uploads/2018/01 access is denied, but I found there is tool called Fusker for exact thing I asked. It was online tool, I just entered website URL and it scanned for such files and got em all. Hope this will help someone who searches fo smt similar. … Read more

SVG upload does not work

WordPress doesn’t allow to upload SVG files by default. Add svg file type in allowed file types list function wp_mime_types($mimes) { $mimes[‘svg’] = ‘image/svg+xml’; return $mimes; } add_filter(‘upload_mimes’, ‘wp_mime_types’); Fix for displaying svg files in media library function wp_fix_svg() { echo ‘<style type=”text/css”> .attachment-266×266, .thumbnail img { width: 100% !important; height: auto !important; } </style>’; … Read more