Linux 软件免费装

SVG Shortcode

开发者 amrendesign
更新时间 2014年3月1日 04:18
捐献地址: 去捐款
PHP版本: 3.3 及以上
WordPress版本: 3.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

embed image images svg vector object scalable vector graphics

下载

1.0 1.0.1

详情介绍:

A plugin that allows SVG-files (Scalable Vector Graphics) to be uploaded through the media browser and adds an SVG shortcode for using SVG-files on your WordPress site. The plugin has a fallback attribute to display an image if the browser doesn't support SVG-files.

安装:

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use the [svg] shortcode like this: [svg]url-to-your-svg-file[/svg]
  4. For an image fallback you can use the fallback attribute like this: [svg fallback="url-to-your-fallback-image"]url-to-your-svg-file[/svg]

升级注意事项:

1.0 First version

常见问题:

  1. How do I use the plugin?

Use the SVG shortcode as follows: [svg]url-to-your-svg-file[/svg]

  1. What attributes are supported?

fallback, width, height Let me know if you need others supported

  1. How do I use the attributes?

F.ex. using the width attribute: [svg width="100px"]url-to-your-svg-file[/svg]

更新日志:

1.0 1.0.1