WordPress.org

Support

Support » Alpha/Beta » [Resolved] Featured image not showing when using SVG

[Resolved] Featured image not showing when using SVG

  • After enabling SVG

    function cc_mime_types( $mimes ){
    	$mimes['svg'] = 'image/svg+xml';
    	return $mimes;
    }
    add_filter( 'upload_mimes', 'cc_mime_types' );

    and setting a featured image to a SVG, the image did not show up.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Featured image not showing when using SVG’ is closed to new replies.