Standaard geeft WordPress bij het SVG format niet thuis. SVG bestanden die je zou willen uploaden worden niet herkend, of zijn niet selecteerbaar. Dit hef je op door een plugin te gebruiken.
De plugin SVG Support van Benbodhie lost dit op en maakt het gebruik van SVG net zo makkelijk als een jpg, png.
In de beschrijving van de plugin lezen we het volgende:
Scalable Vector Graphics (SVG) are becoming common place in modern web design, allowing you to embed images with small file sizes that are scalable to any visual size without loss of quality.
This plugin not only provides SVG Support like the name says, it also allows you to easily embed your full SVG file’s code using a simple IMG tag.
By adding the class “style-svg” to your IMG elements, this plugin dynamically replaces any IMG elements containing the “style-svg” class with your complete SVG code, rendering it inline.