=== Calder SVG === Contributors: munger41 Tags: animation, svg, art, calder Requires at least: 4.0 Tested up to: 4.8 Stable tag: 1.7 Animate prepared SVG drawing as a mobile picture. == Description == Animate prepared SVG drawing as a mobile picture. Uses [Anime.js](http://anime-js.com/ "Anime.js") and [Vivus.js](https://maxwellito.github.io/vivus/ "Vivus.js") Examples: * [Musicians](http://caldersvg.termel.fr/ "Musicians") * [Politicians](http://caldersvg.termel.fr/politicians/ "Politicians") ### Shortcode ### Add desired prepared (see example) images in wordpress standard `uploads` folder (on multisite `uploads/sites/#/`), and add shortcode to any page, specifing svg folder to use and animate: `[caldersvg svgs="wp-content/my/folder/containing/svg/files/"]` or `[caldersvg svgs="/var/www/mysite/wp-content/my/folder/containing/svg/files/"]` with all your .svg files in last folder. The `svgs` parameter DOES NOT contain a **URL** (starting by http://), but a **relative path** on the server. You can test with default demo files, included inside plugin (under calder-svg/svg/), but you have to copy them under your uploads wordpress folder before, and use something like shortcode: `[caldersvg svgs="../../svg/musicians/"]` ### SVG file example ### If using Inkscape to create the SVG files, please save your files as Optimized SVG, then check that your file is containing a stroke and no fill for each path (else you could experience strange displays). Like: `fill="none" stroke-width="1" stroke="#cecece"` `