IZA SDG
Interactive SVG graphic for sustainability.zinc.org implemented through WordPress shortcode
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/gnowland/iza-sdg/archive/refs/heads/master.zipDeclares an update source (gnowland/iza-sdg), so updates arrive through the plugin's own updater.
Readme
IZA-SDG
Interactive SVG graphic highlighting the International Zinc Association (IZA) and its members' committment to the United Nations 17 Sustainable Development Goals (SDGs) featured on the zinc.org sustainability microsite: sustainability.zinc.org.
Use
Add shortcode [iza_sdg] to WordPress page content.
Divi: insert shortcode inside a "code" or "full-width code" module.

Admin
Text editing and administrative interface is located under Appearance > IZA SDG in the WordPress Admin menu.

Development
- Uses yarn, webpack and browsersync.
- Dependancies are managed with
package.json(yarn) - Builds are managed with
webpack.config.js(webpack)
- Dependancies are managed with
Source files are located in /src and are compiled to /dist by yarn scripts (see below). WARNING: Do not directly edit files in dist as they will be overwritten on the next compile!
The plugin automatically selects the CSS file for development/production.
How does it work
-
Initilize Project
yarn -
Available commands
-
Dev
starts browsersync, compiles your js and scss, creates sourcemaps and watches for file changes
yarn dev -
Dist
generates production files (minifies css and packs media queries), generates less detailed source maps
yarn dist
-
Design
- Use the Adobe Illustrator asset exporter to export the entire artboard. Make sure that exporting "names as ID's" is set. Run through SVGOMG with generous settings.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v2.2.0 | Nov 20, 2019 |
| v2.1.0 | Oct 23, 2018 |
| v2.0.3 | Oct 10, 2018 |
| v1.1.0 | Oct 8, 2018 |
| v2.0.1 | Oct 8, 2018 |
| v2.0.2 | Oct 8, 2018 |
| v2.0.0 | Oct 8, 2018 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.