{"id":24849,"date":"2013-08-23T21:57:59","date_gmt":"2013-08-23T21:57:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/svg-shortcode\/"},"modified":"2014-02-28T20:18:33","modified_gmt":"2014-02-28T20:18:33","slug":"svg-shortcode","status":"closed","type":"plugin","link":"https:\/\/nl.wordpress.org\/plugins\/svg-shortcode\/","author":12975615,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"3.7.41","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"SVG Shortcode","header_author":"Martin Amr\u00e9n","header_description":"","assets_banners_color":"","last_updated":"2014-02-28 20:18:33","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.amrendesign.se","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/svg-shortcode\/","header_author_uri":"http:\/\/www.amrendesign.se\/en\/","rating":3,"author_block_rating":0,"active_installs":10,"downloads":2880,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>First version<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,13333,59732,2904,2905],"plugin_category":[50,56],"plugin_contributors":[90978],"plugin_business_model":[],"class_list":["post-24849","plugin","type-plugin","status-closed","hentry","plugin_tags-embed","plugin_tags-object","plugin_tags-scalable-vector-graphics","plugin_tags-svg","plugin_tags-vector","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-amrendesign","plugin_committers-amrendesign"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/svg-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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. \nThe plugin has a fallback attribute to display an image if the browser doesn't support SVG-files.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the [svg] shortcode like this: \n[svg]url-to-your-svg-file[\/svg]<\/li>\n<li>For an image fallback you can use the fallback attribute like this:\n[svg fallback=\"url-to-your-fallback-image\"]url-to-your-svg-file[\/svg]<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>1. How do I use the plugin?<\/dt>\n<dd><p>Use the SVG shortcode as follows:\n[svg]url-to-your-svg-file[\/svg]<\/p><\/dd>\n<dt>2. What attributes are supported?<\/dt>\n<dd><p>fallback, width, height<\/p>\n\n<p>Let me know if you need others supported<\/p><\/dd>\n<dt>3. How do I use the attributes?<\/dt>\n<dd><p>F.ex. using the width attribute:\n[svg width=\"100px\"]url-to-your-svg-file[\/svg]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added support for width and height properties<\/li>\n<\/ul>","raw_excerpt":"SVG shortcode plugin allowing SVG-files to be uploaded and easily used in pages and posts with a shortcode","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24849"}],"author":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/amrendesign"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24849"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24849"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24849"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24849"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24849"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}