Friday, May 20th, 2016
Add to functions.php
function cc_mime_types( $mimes ){
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter( 'upload_mimes', 'cc_mime_types' );
Tags: Media support, PHP, SVG, WordPress
Posted in PHP, WordPress | No Comments »