{"id":4371,"date":"2009-01-04T21:18:23","date_gmt":"2009-01-04T21:18:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wordpress-code-snippet\/"},"modified":"2010-09-06T20:03:42","modified_gmt":"2010-09-06T20:03:42","slug":"wordpress-code-snippet","status":"closed","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/wordpress-code-snippet\/","author":663491,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.3","stable_tag":"trunk","tested":"3.0.5","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Wordpress Code Snippet","header_author":"Allan Collins","header_description":"","assets_banners_color":"","last_updated":"2010-09-06 20:03:42","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=acollins%40paonia%2ecom&item_name=Wordpress%20Plugin&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8","header_plugin_uri":"http:\/\/www.allancollins.net\/486\/wordpress-code-snippet-2-0\/","header_author_uri":"http:\/\/www.allancollins.net","rating":0,"author_block_rating":0,"active_installs":30,"downloads":9581,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,9309,7526],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-4371","plugin","type-plugin","status-closed","hentry","plugin_tags-code","plugin_tags-snippet","plugin_tags-syntax-highlighter","plugin_committers-collinsinternet"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wordpress-code-snippet.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin will allow you to add code snippets to your pages\/posts.  This is great for code tutorial sites.<\/p>\n\n<h3>Upgrading<\/h3>\n\n<p>If you are upgrading from version 1.0, you will see an option on the Code Library page that will allow you to upgrade.  As a precautionary measure, be sure to back up your database before doing so.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Download the plugin, extract and upload it to your plugins folder on your server.<\/p><\/li>\n<li><p>Activate the plugin.<\/p><\/li>\n<li><p>Access the Code Library section.<\/p><\/li>\n<li><p>Create a new snippet and save.<\/p><\/li>\n<li><p>Return to the Code Library and select the \"Code\" link.<\/p><\/li>\n<li><p>Copy the code.<\/p><\/li>\n<li><p>Add or edit a page or post and paste the code into the HTML of the page\/post where you want it to display.<\/p><\/li>\n<li><p>Publish or Save the page\/post.<\/p><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Major overhaul of version 1.0.<\/li>\n<li>Moved code to a reusable code library so that it is no longer limited to one page\/post.<\/li>\n<li>Snippets can now be placed anywhere in the post\/page's content.<\/li>\n<li>More than one snippet can be added to a page\/post.<\/li>\n<li>One click upgrade feature to upgrade from version 1.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Updated option credit link as an option and not the default.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Some users have reported that their snippets are escaped with a slash.  Added stripslashes to outputted snippets.<\/li>\n<\/ul>","raw_excerpt":"This plugin will allow you to add code snippets to your pages\/posts.  This is great for code tutorial sites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4371"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/collinsinternet"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4371"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4371"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4371"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4371"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4371"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}