SVG Upload Not Enabled in WordPress
-
SVG upload is not enabled in WordPress by default. Users will need to add this code to their theme’s functions file to enable it.
function cc_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter('upload_mimes', 'cc_mime_types');
Or they will have to upload image to their server via FTP which will be difficult for most users.
It would be nice if this code is added in the plugin to enable SVG upload in WordPress when this plugin is active.
Thanks
https://www.ads-software.com/plugins/optimize-your-feed-for-feedly/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SVG Upload Not Enabled in WordPress’ is closed to new replies.