Using SVG (Scalable Vector Graphics) files is not mandatory. However, they bring a series of advantages. Here are a few of them:
They are scalable – this means that SVG images will look great on any kind of resolution (because they are vector based), be it a retina display or a mobile device display.
They are small – SVG files are much smaller than other image formats, so they won’t slow down your website at all.
Highly customizable – they can be edited just like regular images, using graphic editing programs or can be adjusted in a text editor by changing their markup. SVG images can be also animated.
SEO friendly – Google can crawl and index SVGs as standalone files or even if they’re embedded in the HTML markup.
How to add SVG images to WordPress
You can’t upload SVG images in WordPress by default. WordPress doesn’t allow you to do this for security reasons.
The easiest was to safely enable SVG support in WordPress is to use a dedicated plugin like Safe SVG.
Simply install this WordPress plugin and upload SVG images without getting any errors. It works pretty straightforward, there are no settings, the plugin will sanitize your SVG files to stop vulnerabilities.
Once uploaded, you can insert your SVG images in pages/posts, widgets or use them as site logos, etc.
That’s it guys, let me know if you find these logos useful, in the comments below.