Add SVG image file to WordPress theme

4 Comments

  1. Manan Vyas

    Thanks. It works like a charm. :) cheers.

  2. Perfect thank you !

    Is this solution enough secured against XSS attack and other security problems inherent to SVG files and XML ?

    1. Hi Tibow. If your SVG file is know to be clean of any harmful scripts, this technique will work just fine.

Leave a Reply to Manan Vyas Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.