Title: Easy SVG Support
Author: Benjamin Zekavica
Published: <strong>2017 年 11 月 28 日</strong>
Last modified: 2025 年 11 月 14 日

---

搜索插件

![](https://ps.w.org/easy-svg/assets/banner-772x250.png?rev=1777234)

![](https://ps.w.org/easy-svg/assets/icon-256x256.png?rev=1777234)

# Easy SVG Support

 作者：[Benjamin Zekavica](https://profiles.wordpress.org/benjamin_zekavica/)

[下载](https://downloads.wordpress.org/plugin/easy-svg.4.1.zip)

 * [详情](https://cn.wordpress.org/plugins/easy-svg/#description)
 * [评价](https://cn.wordpress.org/plugins/easy-svg/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/easy-svg/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/easy-svg/#developers)

 [支持](https://wordpress.org/support/plugin/easy-svg/)

## 描述

#### Direct Upload SVG Files into WordPress

EASY SVG Support is a Plugin which allows you to upload SVG Files into your Media
library. This plugin was created for persons, who don’t need much options for SVG.

#### Features of the plugin include:

 * Uploading SVG Support for WordPress
 * Easy installation
 * Display SVG Files in the Media Libary
 * SVG Sanitize Files direcly
 * SVG Sanitize – Custom Hooks for Tags and Attributes
 * Updated for the new WordPress Gutenberg Editor
 * Support for PHP 8.2

#### Documentation & Support

Got a problem or need help with Easy SVG Support? Than you can write me an e-mail:

info@benjamin-zekavica.de or you can ask your question in the forums section.

## 屏幕截图

[⌊Easy SVG Support in Gutenberg⌉⌊Easy SVG Support in Gutenberg⌉[

Easy SVG Support in Gutenberg

[⌊Upload direct into your WordPress Media⌉⌊Upload direct into your WordPress Media⌉[

Upload direct into your WordPress Media

[[

## 安装

 1. Activate the plugin.
 2. Go to the Media Libary and Upload your SVG Files.
 3. Upload now your SVG Files.
 4. Go to the Page or ACF and choose your File and save changes.

## 常见问题

### SVG Sanitize – Allow Tags & Attributes Hooks

**Hook: esw_svg_allowed_tags**

    ```
        // XML TAGS
        add_filter( 'esw_svg_allowed_tags', function ($tags) {
            $tags[] = 'p';
            $tags[] = 'info';

            return $tags;
        } );
    ```

**Hook: esw_svg_allowed_attributes**

    ```
        // XML attributes
        add_filter( 'esw_svg_allowed_attributes', function ( $attributes ) {
            $attributes[] = 'src';

            return $attributes;
        } );
    ```

### Do you need a Source Code?

Please check out my repository on Github:

[GitHub Repository](https://github.com/bz-projects/Easy-SVG)

## 评价

![](https://secure.gravatar.com/avatar/967a8bbda2a5574cbd26030156c58bf2d4f3845fb87e919821ac18feebab19e7?
s=60&d=retro&r=g)

### 󠀁[It just works!](https://wordpress.org/support/topic/it-just-works-716/)󠁿

 [Booleanboy](https://profiles.wordpress.org/booleanboy/) 2022 年 4 月 18 日

Simple to install, simple to use and gets the job done.

![](https://secure.gravatar.com/avatar/5e621fcb067317024d7145b802fbf505d8fb87eee319c5912f6a40b31b3c92be?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-9213/)󠁿

 [icesacrewam](https://profiles.wordpress.org/icesacrewam/) 2022 年 4 月 9 日

Simple and Easy, Thank you.

![](https://secure.gravatar.com/avatar/21425d200335d490df685fa8c0d6ed4e6a49cb8d8856d677ce7d09cbf0db19e0?
s=60&d=retro&r=g)

### 󠀁[Simple Works eExcellent!](https://wordpress.org/support/topic/simple-works-eexcellent/)󠁿

 [fahmineo](https://profiles.wordpress.org/fahmineo/) 2022 年 2 月 26 日 2 回复

Thank you very much for your work, author. this plugin help me when I need custom
font to upload for use in my Divi Theme website. Excellent!

![](https://secure.gravatar.com/avatar/6c7e1967cfda73eb916330f2c3410df42e013c2073c7bbec3b6a598ba5259903?
s=60&d=retro&r=g)

### 󠀁[Simple and efficient](https://wordpress.org/support/topic/simple-and-efficient-344/)󠁿

 [John](https://profiles.wordpress.org/dsl225/) 2021 年 11 月 15 日 1 回复

Great plugin, simplifies the use of SVG icons, thanks!

![](https://secure.gravatar.com/avatar/aac8dad5c6ae322fe6fd87e6c220db41e8aa75f80ea3f3ca4084f6fc2141d48e?
s=60&d=retro&r=g)

### 󠀁[Lightweight and soo good 🙂](https://wordpress.org/support/topic/lightweight-and-soo-good/)󠁿

 [MaxWP_Canada](https://profiles.wordpress.org/matrixfan/) 2021 年 5 月 27 日

Thank you for this great plugin

![](https://secure.gravatar.com/avatar/8eb271bed6a4bcdc1faad7c762ed6ce920413c343663f01d7ec3c0f9cd654691?
s=60&d=retro&r=g)

### 󠀁[SUPER easy to use !](https://wordpress.org/support/topic/super-easy-to-use-110/)󠁿

 [verdographics](https://profiles.wordpress.org/verdographics/) 2019 年 4 月 30 
日 1 回复

SUPER easy to use ! Thanks!

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/easy-svg/reviews/)

## 贡献者及开发者

「Easy SVG Support」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Benjamin Zekavica ](https://profiles.wordpress.org/benjamin_zekavica/)

「Easy SVG Support」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/easy-svg/contributors)
为本插件所做的贡献。

[帮助将「Easy SVG Support」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/easy-svg)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/easy-svg/)，查看[SVN仓库](https://plugins.svn.wordpress.org/easy-svg/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/easy-svg/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/easy-svg/)。

## 更新日志

#### 4.1: November 14, 2025

 * Support for new WordPress version
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package
 * Security: Implemented trusted server-side SVG filetype detection using wp_check_filetype_and_ext().
 * Security: Sanitizing is now enforced for all genuine SVG uploads.
 * Security: Rejecting spoofed or inconsistent SVG uploads.
 * Security: Hardened AJAX handler with capability checks and nonce verification.
 * Improved code quality to match WordPress Plugin Guidelines.

#### 4.0: September 2, 2025

 * Support for new WordPress version
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package

#### 3.9: 1st of April, 2025

 * Support for new WordPress version 6.8
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package
 * Updated License
 * Code Optimizing

#### 3.8: 4th of November, 2024

 * Security Fix for Image Uploader | Props to Francesco Carlucci & Wordfence
 * Support for new WordPress version 6.7
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package
 * Remove Support for 7.4 – Now it’s imporant to use 8.0
 * Remove WP Support for 5x – Now it’s imporant to use 6.0
 * Code Optimizing

#### 3.7: 21th of June, 2024

 * Support for new WordPress version 6.6
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package
 * Code Optimizing

#### 3.6: 3rd of March, 2024

 * Support for new WordPress version 6.5
 * Support Gutenberg Version
 * Updated SVG Sanitizer Package
 * Code Optimizing

#### 3.5: 5th of November, 2023

 * Support for new WordPress version 6.4
 * Support Gutenberg Version
 * Updated Translation
 * Better Support for PHP 8.2

#### 3.4: 19th of June, 2023

 * Support for new WordPress version 6.3
 * Support Gutenberg Version
 * Updated SVG svg-sanitize
 * Better Support for PHP 8.2

#### 3.3.1: 13th of March, 2023

 * Support for new WordPress version 6.2
 * Support Gutenberg Version

#### 3.3.0: 29th of May, 2022

 * Support for new WordPress version 6.0
 * Support Gutenberg Version
 * SVG Sanitize Files direcly
 * Security Update
 * New & updated POT-File for Translation
 * SVG Sanitize – Custom Hooks for Tags and Attributes

#### 3.2.0: 26th of January, 2022

 * Support for new WordPress version 5.9
 * Support Gutenberg Version

#### 3.1.0: 21th of July, 2021

 * Support for new WordPress version 5.8
 * Support Gutenberg Version

#### 3.0.0: 26th of May, 2021

 * Support for new WordPress version

#### 2.9.1: 28th of January, 2021

 * Add PHP 8.0 support
 * Support for new version of the Gutenberg Editor
 * Support for new WordPress version

#### 2.9: 28th of October, 2020

 * Security Fixes
 * Support for new WordPress version

#### 2.8: 02th of July, 2020

 * Security Fixes
 * Updated Language files
 * Support for new WordPress version

#### 2.7: 24th of January, 2020

 * Add Support for WordPress 5.3.2
 * Gutenberg Editor Post Image Size
 * Security Fixes

#### 2.6: 21th of September, 2019

 * Add Support for WordPress 5.2.3
 * Fixes

#### 2.5.1: 12th of June, 2019

 * Add Support for WordPress 5.2.1

#### 2.5: 31th of March, 2019

 * Add SVG Performance Update
 * Add Security Update
 * Add Support for WordPress 5.1.1
 * Add PHP 7.3 Support Update
 * Remove external CSS Stylesheet -> Better Backend Performance (Write Less CSS 
   Code in Style Tag into the Header)
 * Some Changes and Fixes

#### 2.4: 12th of December, 2018

 * Higher Code Quality
 * Security Update
 * Full Gutenberg Support in Backend

#### 2.3: 8th of August, 2018

 * (NEW Full WordPress 5.0 Support inc. Gutenberg Support
 * (NEW) Now you can see all SVG Files in the Backend (ACF Support) and for Galleries
 * (REMOVE) Removing JavaScript File (The Plugin is now faster and easier)
 * (CHANGE) Edit Language Files

#### 2.2.2: 27th of May, 2018

 * Add correction of the new versions number

#### 2.0.3: 27th of Febuary, 2018

 * Add better security with index.php

#### 2.0.2: 10th of Febuary, 2018

 * Add new Versions Number

#### 2.0.1: 10th of Febuary, 2018

 * Add JQuery Function (Please Update now!)

#### 2.0: 10th of Febuary, 2018

 * Add better Security SVG Support(XML)
 * Add better Code Quality and more code comments for WordPress Developers
 * Add A Dashboard Widget to remember you for Easy SVG
 * Display SVG Files into WordPress Media Libary
 * Add Translation Files (Template)
 * New Translation FIles for (EN, US, DE, DE Formal, HR)
 * Add JavaScript to Backend
 * Add CSS for Display SVG Files into the Backend

#### 1.1: 29th of November, 2017

 * Add a smole Alert message for users.

#### 1.0.1: 28th of November, 2017

 * Edit new Text

#### 1.0.0: 28th of November, 2017

 * Initial Release

## 额外信息

 *  版本 **4.1**
 *  最后更新：**7 月前**
 *  活跃安装数量 **40,000+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/easy-svg/) 、 [German](https://de.wordpress.org/plugins/easy-svg/)、
   [Russian](https://ru.wordpress.org/plugins/easy-svg/) 和 [Swedish](https://sv.wordpress.org/plugins/easy-svg/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/easy-svg)
 * 标签
 * [SVG](https://cn.wordpress.org/plugins/tags/svg/)[svg support](https://cn.wordpress.org/plugins/tags/svg-support/)
   [upload svg](https://cn.wordpress.org/plugins/tags/upload-svg/)
 *  [高级视图](https://cn.wordpress.org/plugins/easy-svg/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/easy-svg/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/easy-svg/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/easy-svg/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/easy-svg/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/easy-svg/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easy-svg/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/easy-svg/reviews/)

## 贡献者

 *   [ Benjamin Zekavica ](https://profiles.wordpress.org/benjamin_zekavica/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/easy-svg/)