Easy SVG Support

外掛說明

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.0

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
  • 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

使用者評論

2022 年 2 月 26 日
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!
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Easy SVG Support〉的開發相關工作。

參與者

Easy SVG Support 外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Easy SVG Support〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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