Title: Inline SVG without JavaScript?
Last modified: September 11, 2017

---

# Inline SVG without JavaScript?

 *  Resolved [Sparanoid](https://wordpress.org/support/users/sparanoid/)
 * (@sparanoid)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/inline-svg-without-javascript/)
 * Is there a way to inline SVG without using JavaScript? Just inline SVG images
   when rendering the HTML, this could help reduce extra HTTP requests if the page
   has many SVG images.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/inline-svg-without-javascript/#post-9485790)
 * Hello,
 * Thanks for using my plugin.
 * Unfortunately no, this uses JS to find images with SVG source and swaps them 
   with inline code if it has the target class.
 * You would have to just embed the inline code to achieve what you want I think.

Viewing 1 replies (of 1 total)

The topic ‘Inline SVG without JavaScript?’ is closed to new replies.

 * ![](https://ps.w.org/svg-support/assets/icon.svg?rev=1417738)
 * [SVG Support](https://wordpress.org/plugins/svg-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svg-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svg-support/)
 * [Active Topics](https://wordpress.org/support/plugin/svg-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svg-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svg-support/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/inline-svg-without-javascript/#post-9485790)
 * Status: resolved