SVG Support

SVG Support

توسط

The complete SVG solution for WordPress – secure, flexible, and easy to use.

SVG Support enables secure SVG uploads with powerful features for both basic users and developers:

Key Features:
– Secure SVG uploads with automatic sanitization
– Inline rendering for direct CSS/JS manipulation
– File size optimization through minification
– Role-based access control
– Advanced developer options
– Multisite compatible
– Full Block Editor (Gutenberg) compatibility

🔒 Security First:
– Built-in sanitization removes potentially harmful code
– Role-based upload restrictions
– Comprehensive MIME type validation

🎨 Designer Friendly:
– Direct styling of SVG elements
– Animation support
– Custom class targeting
– Automatic dimension handling

💻 Developer Ready:
– Advanced mode for additional features
– REST API support
– Gutenberg compatible
– Extensive hooks and filters

Usage

Basic Usage:
– First, install and activate SVG Support via your WordPress dashboard
– Upload SVG files to your media library like any other image
– Works seamlessly with Image blocks, Cover blocks and featured images

Advanced Usage:
– Enable “Advanced Mode” for minification and inline rendering
– Customize with hooks and filters for tailored functionality

Block Editor Usage:
– Use Advanced Mode to enable inline rendering:
– Add the "style-svg" class to Image blocks
– Add the "style-svg" class to Cover blocks to render SVG backgrounds inline
– Use “Skip Nested SVGs” setting to control inline rendering of SVGs within Cover blocks

Classic Editor Usage:
– Use Advanced Mode to add the "style-svg" class to <img> tags for inline rendering
– Enable “Auto Insert Class” option for automatic class insertion in Classic Editor

Common Issues & Solutions:
– SVG not displaying? Ensure dimensions are set in CSS.
– Need help? Use the support tab and I will do my best to assist you.

Spin up a test site

With a single click, you can spin up a completely free test site to test SVG Support using TasteWP! No sign up, no cards, nothing! How cool is that? Give it a go:
Click Here to spin up a test site in seconds

Security

SVG Support prioritizes security with automatic sanitization and role-based restrictions. Only trusted users should have upload permissions. Configure settings to balance functionality and security.

Feedback

I’m open to your suggestions and feedback – Thanks for using SVG Support!

Follow @SVGSupport on Twitter
Follow @benbodhi on Twitter
Follow @benbodhi on Warpcast

Note: I hope you like this plugin! Please take a moment to rate it.

Development & Contributing

The development version of SVG Support is maintained on GitHub. Feel free to contribute:

Translations

Contribute translations here. New to translating? Check the Translator Handbook.

راهنمای نصب برای این آیتم موجود نیست.

سوالات متداول

SVG not rendering inline since 2.3 update

Ensure “Advanced Mode” is enabled in Settings > SVG Support.

How do I disable the Javascript on the front end if I am not using inline SVG?

Disable “Advanced Mode” in the settings.

I’m trying to use SVG in the customizer but it’s not working.

To allow SVG to work in the customizer, you will need to modify/add some code in your child theme’s function file. Here is a great tutorial on how to do that. The important part is:

'flex-width'    => true
'flex-height'   => true

How do I add animation to my SVG?

You will need to edit your SVG file in a code editor so you can add CSS classes to each element you need to target within the SVG. Make sure that your IMG tag is being swapped out for your inline SVG and then you can use CSS or JS to apply animations to elements within your SVG file.

Why is SVG Support not working in multisite?

If you installed multisite prior to WordPress 3.5, then you will need to remove your ms-files. Here is a couple of resources to help you: Dumping ms-files Removing ms-files after 3.5.

Why is my SVG not working in Visual Composer?

If you are using SVG Support with Visual Composer or any other page builders, you will need to make sure that you can add your own class to the image. The easiest way to do this is by using a simple text or code block in the builder to put your image code in to. Additionally, there is now a setting to force all SVG files to be rendered inline.

How do I get this to work with the Media Library Assistant plugin?

You need to add the mime type for svg and svgz to: “MLA Settings > Media Library Assistant > Uploads (tab)” and then it works.

×

نظرات کاربران

5/5
★★★★★

Excelent!

By VS4Net Sistemas (vs4net) on April 15, 2026

Thanks!

Simple & Helpful

By Randy (randy210) on March 9, 2026

Needed SVG upload support and this plugin fixed it right away. No complicated setup, just install and done. Works smoothly with the media library. Small plugin but really useful. tnkz dev 👍

A must-have on all my websites

By Jean Werk (brightbluegum) on December 12, 2025

It works out of the box and it's safe

The Best

By filtrocreativo22 on November 1, 2025

The best and simplest

Works as advertised!

By atkulp on September 6, 2025

I wanted to be able to use SVG files for logo and other assets and this plugin made it easy. Thanks!

Perfect plug-in

By Nandor (flashfabio) on August 15, 2025

Works well, happy to use. Thank you

It works perfectly!

By viniferraz24 on July 14, 2025

It did what it promised. I will definitely use it again in future projects!

Does exactly what it claims

By douglockyer64 on July 6, 2025

Makes uploading and applying/styling custom svg icons a breeze. Integrates perfectly with elementor and font awesome.

Great Plugin

By Ryan Tvenge (rtvenge) on April 25, 2025

Great plugin we use on so many sites.

Causes significant memory spike

By elaborate (Azinfiro) on April 10, 2025

I've been using this plugin on a client's site for a while without thinking much of it, but after investigating a complaint of a sluggish UI, it turns out this plugin is responsible for a 500 MB memory increase when only two SVG files are displayed on the page.

Enabling SVG support for the WordPress media library can be done with a dozen lines of PHP, so just switching form this plugin to a few lines in functions.php has returned RAM consumption back to normal again.

I previously wrote that this plugin appears to convert SVG to HTML and CSS, but that's not actually the case—that turned out to be the Safari LiveText implementation. The plugin does nevertheless trigger a memory leak. I haven't investigated it further, but the developer is welcome to comment on it. I'll update my review if necessary.

0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
2.5.14 168 کیلوبایت
دانلود
2.5.9 167 کیلوبایت -
دانلود
2.5.8 370 کیلوبایت -
دانلود
2.5.7 368 کیلوبایت -
دانلود
2.5.6 368 کیلوبایت -
دانلود
2.5.5 367 کیلوبایت -
دانلود
2.5.4 367 کیلوبایت -
دانلود
2.5.3 367 کیلوبایت -
دانلود
2.5.2 367 کیلوبایت -
دانلود
2.5.13 168 کیلوبایت -
دانلود
2.5.12 168 کیلوبایت -
دانلود
2.5.11 168 کیلوبایت -
دانلود
2.5.10 167 کیلوبایت -
دانلود
2.5.1 353 کیلوبایت -
دانلود
2.5 353 کیلوبایت -
دانلود
2.2 26 کیلوبایت -
دانلود
2.3.6 38 کیلوبایت -
دانلود
2.3.7 47 کیلوبایت -
دانلود
2.3.8 47 کیلوبایت -
دانلود
2.3.9 52 کیلوبایت -
دانلود
2.4 325 کیلوبایت -
دانلود
2.4.1 325 کیلوبایت -
دانلود
2.4.2 325 کیلوبایت -
دانلود
2.2.3 33 کیلوبایت -
دانلود
2.2.2 26 کیلوبایت -
دانلود
2.2.1 26 کیلوبایت -
دانلود
2.2.3.2 38 کیلوبایت -
دانلود
2.1.7 19 کیلوبایت -
دانلود
2.1.6 19 کیلوبایت -
دانلود
2.1.5 19 کیلوبایت -
دانلود
2.1.4 13 کیلوبایت -
دانلود
2.1.3 12 کیلوبایت -
دانلود
2.1.2 12 کیلوبایت -
دانلود
2.1.1 12 کیلوبایت -
دانلود
2.1 12 کیلوبایت -
دانلود
2.0 11 کیلوبایت -
دانلود
2.3.4 42 کیلوبایت -
دانلود
2.2.3.1 38 کیلوبایت -
دانلود
2.2.4 38 کیلوبایت -
دانلود
2.2.5 39 کیلوبایت -
دانلود
2.3 42 کیلوبایت -
دانلود
2.3.1 42 کیلوبایت -
دانلود
2.3.10 52 کیلوبایت -
دانلود
2.3.11 53 کیلوبایت -
دانلود
2.3.12 58 کیلوبایت -
دانلود
2.3.13 58 کیلوبایت -
دانلود
2.3.14 58 کیلوبایت -
دانلود
2.3.15 95 کیلوبایت -
دانلود
2.3.16 96 کیلوبایت -
دانلود
2.3.17 97 کیلوبایت -
دانلود
2.3.18 97 کیلوبایت -
دانلود
2.3.19 98 کیلوبایت -
دانلود
2.3.2 42 کیلوبایت -
دانلود
2.3.20 98 کیلوبایت -
دانلود
2.3.21 98 کیلوبایت -
دانلود
2.3.3 42 کیلوبایت -
دانلود
2.3.5 42 کیلوبایت -
دانلود
1.0 6 کیلوبایت -
دانلود
×
★★★★★
★★★★★
4.8 /5 (355 نظر)

قیمت:

رایگان

نگارش

2.5.9

آخرین انتشار

6 اردیبهشت 1405

آخرین بروزرسانی

4 ماه پیش

نصب های فعال

1,000,000+

نگارش وردپرس

وردپرس 5.8+

تست شده از نسخه

وردپرس 6.7.5

نگارش PHP

PHP 7.4+

نسخه ها

59 نسخه