I installed SVG Support plugin. I have a .svg file with svg icons(symbols). I want to import these icons into Content of a Widget.

If I open Dashboard -> Appearance -> Widgets -> [Shapely] Parralax Section -> Content, I can import svg file by

<img class="style-svg" alt="alt-text" src="wp-content/themes/shapely/assets/images/icons.svg" />

and all my icons are in html body.

If I try to import specific icon by tag and save changes, svg tag is removed from Widget Content.

How can I import a svg icon from svg sprite file?

Read more here: Insert svg into Widget Content


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: