With this Wordpress plugin you can add a responsive SVG infographic to any page or post.
This plugin was created to work with Greenpeace Spain generic SVG sizes and methodology. This infographics should display responsively in most websites. For more information check:
- Guide to create visualisations for our sites
- Infographics
- Sizes, formats and file types
- Add an infographic to your website
Copy-paste the example code bellow to your posts and pages.
[responsive_svg_infograph id='justAnExample' xl='https://storage.googleapis.com/gpes-static/plasticos/plasticos-1024.svg' l='https://storage.googleapis.com/gpes-static/plasticos/plasticos-730.svg' m='https://storage.googleapis.com/gpes-static/plasticos/plasticos-510.svg' s='https://storage.googleapis.com/gpes-static/plasticos/plasticos-360.svg']
If you use Shortcake Shortcode UI you can insert the infographics using the graphic user interface.
- Upload the responsive-svg-infograph folder to wp-content/plugins/.
- Activate the Add responsive SVG infographics plugin.
If you use the plugin Shortcake Shortcode UI to have a GUI, you should also:
- Upload the responsive-svg-infograph-ui folder to wp-content/plugins/.
- Activate the Responsive SVG infographics UI plugin.
- Open the files languages/responsive-svg-infograph.pot and languages/responsive-svg-infograph-ui.pot with Poedit.
- Create new language.
- Translate.
- Save the .po and .mo files as the Spanish example inside the languages folder.