Support SVG images in WordPress by custom code
Here's a code snippet that you can use to add support for SVG images in WordPress: function add_svg_support( $mimes ) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter( 'upload_mimes', 'add_svg_support'…