Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

SVG Shortcode

Leírás

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.

Telepítés

  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]

GYIK

1. How do I use the plugin?

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

2. What attributes are supported?

fallback, width, height

Let me know if you need others supported

3. How do I use the attributes?

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

Vélemények

Nincsenek értékelések erről a bővítményről.

Közreműködők és fejlesztők

“SVG Shortcode” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“SVG Shortcode” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

1.0

  • First version

1.0.1

  • Added support for width and height properties