Allow SVG through WordPress Media Uploader
NOTE: As of 4.7.1 this isn’t working exactly as published here anymore. Comment thread starts here. I’ll update this once the best way to handle it becomes clear. This is the best I got so far. For your functions.php file or a functionality plugin: function cc_mime_types($mimes) { $mimes[‘svg’] = ‘image/svg+xml’; return $mimes; } add_filter(‘upload_mimes’, ‘cc_mime_types’); … Continue reading Allow SVG through WordPress Media Uploader
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed