SVG Shortcode
SVG shortcode plugin allowing SVG-files to be uploaded and easily used in pages and posts with a shortcode
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4324 days ago • 1 reviews
Is SVG Shortcode abandoned?
Possibly abandoned (last update 4324 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload the plugin to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the [svg] shortcode like this:
[svg]url-to-your-svg-file[/svg] - 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]
Frequently Asked Questions
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]
Review feed
Screenshots
Changelog
1.0
- First version
1.0.1
- Added support for width and height properties