{"id":144303,"date":"2021-07-26T03:47:36","date_gmt":"2021-07-26T03:47:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/coding-blocks\/"},"modified":"2022-09-17T11:13:38","modified_gmt":"2022-09-17T11:13:38","slug":"coding-blocks","status":"closed","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/coding-blocks\/","author":18631128,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"Coding Blocks","header_author":"Simon Ugorji","header_description":"Coding Blocks Allows you to create reusable and attractive code snippets with ease","assets_banners_color":"555368","last_updated":"2022-09-17 11:13:38","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=ZYK9PQ8UFRTA4","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/coding-blocks","header_author_uri":"https:\/\/fb.com\/simon.ugorji.106","rating":0,"author_block_rating":0,"active_installs":80,"downloads":3519,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"octagonsimon","date":"2021-07-26 03:55:00"},"1.0.2":{"tag":"1.0.2","author":"octagonsimon","date":"2021-08-25 20:28:53"},"1.0.4":{"tag":"1.0.4","author":"octagonsimon","date":"2022-08-06 01:51:01"},"1.0.5":{"tag":"1.0.5","author":"octagonsimon","date":"2022-08-07 00:44:25"},"1.0.6":{"tag":"1.0.6","author":"octagonsimon","date":"2022-08-07 02:06:21"},"1.1.0":{"tag":"1.1.0","author":"octagonsimon","date":"2022-09-17 11:14:45"}},"upgrade_notice":{"1.1.0":"<ul>\n<li>Improved Plugin UI<\/li>\n<li>Optimized plugin&#039;s code base<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2588802,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2588802,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2588802,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2588802,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.2","1.0.4","1.0.5","1.0.6","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2767097,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2767258,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2767310,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2767258,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"This is the Screenshot of the page where you create a new snippet.","2":"This is the Screenshot of the page, where you edit your snippets.","3":"This is the Screenshot of a snippet in a Wordpress Post.","4":"This is a Screenshot of the preview page, where you can preview themes before using them."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,18607,18603,17005,80],"plugin_category":[43],"plugin_contributors":[213826],"plugin_business_model":[],"class_list":["post-144303","plugin","type-plugin","status-closed","hentry","plugin_tags-code","plugin_tags-code-snippet","plugin_tags-prettify","plugin_tags-programming","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-octagonsimon","plugin_committers-octagonsimon"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/coding-blocks_555368.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/coding-blocks\/assets\/screenshot-1.png?rev=2767097","caption":"This is the Screenshot of the page where you create a new snippet."},{"src":"https:\/\/ps.w.org\/coding-blocks\/assets\/screenshot-2.png?rev=2767258","caption":"This is the Screenshot of the page, where you edit your snippets."},{"src":"https:\/\/ps.w.org\/coding-blocks\/assets\/screenshot-3.png?rev=2767310","caption":"This is the Screenshot of a snippet in a Wordpress Post."},{"src":"https:\/\/ps.w.org\/coding-blocks\/assets\/screenshot-4.png?rev=2767258","caption":"This is a Screenshot of the preview page, where you can preview themes before using them."}],"raw_content":"<!--section=description-->\n<blockquote>\n  <p>PLEASE NOTE THAT THIS PLUGIN DOES NOT AND WILL NEVER EXECUTE ANY TYPE OF CODE ON YOUR WORDPRESS SITE!<\/p>\n<\/blockquote>\n\n<p>This plugin uses Google Prettify which is an open-source syntax highlighting library.<\/p>\n\n<p>This plugin relies on 3rd party services under the circumstances below;<\/p>\n\n<ol>\n<li><p><a href=\"https:\/\/github.com\/googlearchive\/code-prettify\/\">Syntax highlighting<\/a> - This is the core library that will make your snippets to be formatted according to your chosen language.<\/p><\/li>\n<li><p><a href=\"https:\/\/jmblog.github.io\/color-themes-for-google-code-prettify\/\">Color Themes<\/a> - This is the color themes that can be used to change what your code snippets looks like<\/p><\/li>\n<\/ol>\n\n<p>You can find the Terms of Use and privacy policy on the links above.<\/p>\n\n<h3>HOW TO USE<\/h3>\n\n<p>CREATE A NEW SNIPPET<\/p>\n\n<ol>\n<li>Head Over to the New Snippet page to create a New Code Snippet.<\/li>\n<li>On the page, add a title for the new snippet.<\/li>\n<li>Select the Language you're working with.<\/li>\n<li>Type in the code in the code box and when you're done, click on Preview.<\/li>\n<li>Click on Save to save your code snippet.<\/li>\n<\/ol>\n\n<blockquote>\n  <p>NOTE: YOUR CODE SNIPPETS ARE ENCODED AND STORED AS PLAIN TEXT TO PREVENT ITS EXECUTION<\/p>\n<\/blockquote>\n\n<p>MANAGE CODE SNIPPETS<\/p>\n\n<ol>\n<li>Head Over to the All Snippets page to view existing code snippets.<\/li>\n<li>You can click on the Copy button to copy the shortcode for the snippet.<\/li>\n<li>You can click on the Edit button to edit a code snippet.<\/li>\n<li>You can click on the Delete button to delete a code snippet.<\/li>\n<\/ol>\n\n<p>EDIT CODE SNIPPET<\/p>\n\n<ol>\n<li>Head Over to the All Snippets page to view existing code snippets.<\/li>\n<li>Click on the Edit button to redirect you to the edit page.<\/li>\n<li>On the Edit page, change the title for the snippet.<\/li>\n<li>Change the Language you're working with.<\/li>\n<li>Modify the code in the code box and when you're done, click on Update.<\/li>\n<\/ol>\n\n<p>EMBED CODE SNIPPET<\/p>\n\n<ol>\n<li>Head Over to the All Snippets page to view existing code snippets.<\/li>\n<li>Click on the Copy button to copy the shortcode for the snippet.<\/li>\n<li>In any of your wordpress posts, place the copied shortcode &amp; save the post.<\/li>\n<li>Preview the post to see the snippet embedded right where you want it.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>coding-blocks<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Head Over to Get Started to learn How to add your first code snippet.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20the%20plugin%20work%3F'><h3>How does the plugin work?<\/h3><\/dt>\n<dd><ol>\n<li>Create a new code snippet<\/li>\n<li>Navigate to the list of code snippets<\/li>\n<li>Copy the shortcode of the snippet you need<\/li>\n<li>Paste it into your WordPress post Editor and save the post.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Improved Plugin UI<\/li>\n<li>Optimized plugin's code base<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ol>\n<li>Added Copy function to snippet creation page<\/li>\n<li>Removed Error message that shows when you save an already existing record on plugin options<\/li>\n<li>Fixed a Bug with copying code snippets on mobile devices<\/li>\n<\/ol>\n\n<h4>1.0.5<\/h4>\n\n<ol>\n<li>Fixed a bug with uninstalling the plugin.<\/li>\n<li>Improved Admin UI &amp; Code snippet UI.<\/li>\n<li>Added new theme \"pinky Night\".<\/li>\n<\/ol>\n\n<h4>1.0.4<\/h4>\n\n<ol>\n<li>Admin UI &amp; Snippet's UI was improved<\/li>\n<li>Block sync was removed because snippets now have a better way to load<\/li>\n<\/ol>\n\n<h4>1.0.2<\/h4>\n\n<ol>\n<li>It supports up to 44 Languages.<\/li>\n<li>It supports up to 34 Color Themes.<\/li>\n<li>We Added Settings Page. (More description in Changelog file).<\/li>\n<li>We Added Preview Page. (More description in Changelog file).<\/li>\n<li>We Removed Code Labels on code blocks (In re-development process).<\/li>\n<li>We Redesigned Admin UI.<\/li>\n<li>Block Sync Now Available (You can update all your code snippets with one tap to reflect your current plugin settings)<\/li>\n<\/ol>\n\n<h4>1.0.0<\/h4>\n\n<ol>\n<li>It supports just 6 Languages.<\/li>\n<li>It has Just one default theme which is Sunburst Google prettify + night glory.<\/li>\n<li>A brief description of your code snippet is attached at the header section.<\/li>\n<li>A copy button is attached to each of your code snippet.<\/li>\n<\/ol>","raw_excerpt":"code block, syntax highlighter, code highlighter, editor, php, html, css, javascript, python, java, jsx, react, snippet, highlight, syntax, github, p &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/144303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=144303"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/octagonsimon"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=144303"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=144303"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=144303"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=144303"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=144303"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=144303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}