Linux 软件免费装

OH MY Svg

开发者 codekraft
更新时间 2023年2月6日 23:08
PHP版本: 7.1 及以上
WordPress版本: 6.1
版权: GPLv3 or later
版权网址: 版权信息

标签

upload blocks svg icon sanitize vector

下载

0.1.2 0.1.0 0.1.1 0.1.3

详情介绍:

This plugin provides a Svg Block to your block editor, this can be used with any svg icon or image (or even a html snippet). Some key features are provided like automatic markup sanitation, optimization (svgo), and small utility to change the color and the markup that will be very useful for you to create variations of your image. This block has the same controls as the images, but actually the content is xml markup, and you can change it as you like! This allows thousands of possibilities... You will be able to use css animations or js scripts to animate it, change the inner text of the svg, create variations of the same svg. However, this has the disadvantage that the svg will not be copied into the media library, so if you plan to use the same svg several times (buttons, icons, etc.) you are better off creating a reusable block From a performance point of view, be aware that the image will not be included as an external resource, but will instead be within the markup of the page, thus making svg even faster than it already is.

安装:

This plugin can be installed directly from your WordPress site.
  1. Log in to your WordPress site and navigate to Plugins → Add New.
  2. Type "OH MY Svg" into the Search box.
  3. Locate the OH MY Svg plugin in the list of search results and click Install Now.
  4. Once installed, click the Activate button.
It can also be installed manually using a zip file.
  1. Download the OH MY Svg plugin from WordPress.org.
  2. Log in to your WordPress site and navigate to Plugins → Add New.
  3. Click the Upload Plugin button.
  4. Click the Choose File button, select the zip file you downloaded in step 1, then click the Install Now button.
  5. Click the Activate Plugin button.

屏幕截图:

  • Svg as icon (link, alignment)

更新日志:

0.1.3 - 2023-02-02 0.1.2 - 2022-10-22 0.1.1 - 2022-08-03 0.1.0 - 2022-07-25