Disable SVG in wordpress and themes
-
Hi,
I find lots of svg code in my website html with reference to buttons, blogs and social icons. I never needed svg in the past and I don’t think I need it now.So, on my test site I removed all the social icons and buttons and deactivated all plugins, then activated theme twentytwenty. When I view the code there is no svg code. If I then activate a block theme there is lots of svg code.
To my limited knowledge svg is part of document markup and was always considered to be a security risk.
I don’t see why it is necessary for website design having used jpeg and png for years with no visual issues. Vector graphics are a blessing in magazine design but simply not required for website display in my opinion.
This additional unwanted code is reducing my “content to code” percentage and its possible the http could affect my SEO due to mixed content.
Its a bit like bloatware hahaha.
I would like to remove it all so do you have any information on how I could do that?
Many thanks
Col
- The topic ‘Disable SVG in wordpress and themes’ is closed to new replies.