How To Allow Svg In Wordpress. I hope you guys found something useful. Add_filter upload_mimes cc_mime_types.
Function cc_mime_types mimes mimes svg imagesvgxml. SVG appearance in WordPress. Successfully uploaded SVG file using SVG Support plugin.
There is nothing crazy settings in this plugin.
Otherwise other users will be able to upload SVG. New_filetypes svg imagesvgxml. Now refresh the front side and now you will be able to add SVG files in your WordPress media. There is also a new backend setting to allow scaling the SVG images when opened in the lighbox.