{"id":146768,"date":"2021-10-14T10:15:35","date_gmt":"2021-10-14T10:15:35","guid":{"rendered":"https:\/\/it.wordpress.org\/plugins\/coder-block\/"},"modified":"2026-03-12T13:02:30","modified_gmt":"2026-03-12T13:02:30","slug":"coder-block","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/coder-block\/","author":17924913,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"6.0","requires_php":"7.0","requires_plugins":null,"header_name":"Coder Block","header_author":"sh1zen","header_description":"A simple way to share and valuate code with Gutenberg.","assets_banners_color":"4c9ec3","last_updated":"2026-03-12 13:02:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate?business=dev.sh1zen%40outlook.it&item_name=Thank+you+in+advanced+for+the+kind+donations.+You+will+sustain+me+developing+Coder+Block.&currency_code=EUR","header_plugin_uri":"https:\/\/github.com\/sh1zen\/coder-block","header_author_uri":"https:\/\/sh1zen.github.io\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3081,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.10":{"tag":"1.0.10","author":"sh1zen","date":"2025-05-19 17:28:21"},"1.1.0":{"tag":"1.1.0","author":"sh1zen","date":"2026-03-12 13:02:30"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2614157,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2614157,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2614157,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2614157,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"cblocks\/coder-block":{"apiVersion":2,"name":"cblocks\/coder-block","title":"Code Editor","icon":"editor-code","category":"text","description":"A simple way to share and evaluate code with Gutenberg.","textdomain":"coder-block","version":"1.1.0","keywords":["php","code","editor","javascript","css","js","html","snippet"],"attributes":{"mode":{"type":"string","default":"php"},"theme":{"type":"string","default":"twilight"},"fontsize":{"type":"string","default":"14"},"lines":{"type":"string","default":"Infinity"},"code":{"type":"string","source":"text","selector":"pre","default":"<?php echo 'hello world!'; ?>"},"showLinesNumber":{"type":"boolean","default":true},"autocompletion":{"type":"boolean","default":true},"evaluate":{"type":"boolean","default":false},"showSource":{"type":"boolean","default":true},"doShortCodes":{"type":"boolean","default":false},"useACE":{"type":"boolean","default":true}},"supports":{"html":false,"anchor":true,"className":true,"customClassName":true,"align":["wide","full"]},"example":{"attributes":{"code":"<?php\n\/\/ Example code\necho 'Hello World!';\n?>","mode":"php","theme":"twilight"}},"editorStyle":"coder-block-editor-style","editorScript":"coder-block-editor-script"}},"tagged_versions":["1.0.10","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,1214,1341,662,240398],"plugin_category":[59],"plugin_contributors":[184606],"plugin_business_model":[],"class_list":["post-146768","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-code","plugin_tags-functions","plugin_tags-php","plugin_tags-snippets","plugin_category-utilities-and-tools","plugin_contributors-sh1zen","plugin_committers-sh1zen"],"banners":{"banner":"https:\/\/ps.w.org\/coder-block\/assets\/banner-772x250.jpg?rev=2614157","banner_2x":"https:\/\/ps.w.org\/coder-block\/assets\/banner-1544x500.jpg?rev=2614157","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/coder-block\/assets\/icon-128x128.png?rev=2614157","icon_2x":"https:\/\/ps.w.org\/coder-block\/assets\/icon-256x256.png?rev=2614157","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Now is very easy to share code in your website with Gutenberg and the power of <a href=\"https:\/\/ace.c9.io\/\">Ace<\/a>, an embeddable code editor written in JavaScript with the features and performance of native editors such as Sublime, Vim and TextMate.<\/p>\n\n<p>Each instance of Coder Block support:<\/p>\n\n<ul>\n<li>Different languages: html, php, css, javascript, python,...<\/li>\n<li>Syntax highlighting with more than 10 themes to choose.<\/li>\n<li>Other options to select the font size of the code and lines to show without scroll.<\/li>\n<li><strong>Code evaluation in your posts\/pages.<\/strong><\/li>\n<\/ul>\n\n<p><strong>Code evaluation<\/strong><\/p>\n\n<p>With this feature each page will evaluate the code published within the coder block.\nUp to now are supported PHP, Javascript and CSS only.<\/p>\n\n<p><strong>DONATIONS<\/strong><\/p>\n\n<p>This plugin is free and always will be, but if you are feeling generous and want to show your support, you can buy me a\nbeer or coffee <a href=\"https:\/\/www.paypal.com\/donate\/?business=dev.sh1zen%40outlook.it&amp;item_name=Thank+you+in+advanced+for+the+kind+donations.+You+will+sustain+me+developing+Coder+Block.&amp;currency_code=EUR\">here<\/a>, I will really appreciate it.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin. In general, there are 3 ways to install this plugin like any other\nWordPress plugin.<\/p>\n\n<p><strong>1. VIA WORDPRESS DASHBOARD<\/strong><\/p>\n\n<ul>\n<li>Click on \u2018Add New\u2019 in the plugins' dashboard<\/li>\n<li>Search for 'WP Optimizer'<\/li>\n<li>Click \u2018Install Now\u2019 button<\/li>\n<li>Activate the plugin from the same page or from the Plugins Dashboard<\/li>\n<\/ul>\n\n<p><strong>2. VIA UPLOADING THE PLUGIN TO WORDPRESS DASHBOARD<\/strong><\/p>\n\n<ul>\n<li>Download the plugin to your computer\nfrom <a href=\"https:\/\/wordpress.org\/plugins\/coder-block\/\">https:\/\/wordpress.org\/plugins\/coder-block\/<\/a><\/li>\n<li>Click on 'Add New' in the plugins dashboard<\/li>\n<li>Click on 'Upload Plugin' button<\/li>\n<li>Select the zip file of the plugin that you have downloaded to your computer before<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin from the Plugins Dashboard<\/li>\n<\/ul>\n\n<p><strong>3. VIA FTP<\/strong><\/p>\n\n<ul>\n<li>Download the plugin to your computer\nfrom <a href=\"https:\/\/wordpress.org\/plugins\/coder-block\/\">https:\/\/wordpress.org\/plugins\/coder-block\/<\/a><\/li>\n<li>Unzip the zip file, which will extract the main directory<\/li>\n<li>Upload the main directory (included inside the extracted folder) to the \/wp-content\/plugins\/ directory of your website<\/li>\n<li>Activate the plugin from the Plugins Dashboard<\/li>\n<\/ul>\n\n<p><strong>FOR MULTISITE INSTALLATION<\/strong><\/p>\n\n<ul>\n<li>Log in to your primary site and go to \"My Sites\" \u00bb \"Network Admin\" \u00bb \"Plugins\"<\/li>\n<li>Install the plugin following one of the above ways<\/li>\n<li>Network activate the plugin<\/li>\n<\/ul>\n\n<p><strong>INSTALLATION DONE, A NEW LABEL WILL BE DISPLAYED ON YOUR ADMIN MENU<\/strong><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20to%20do%20if%20i%20run%20in%20some%20issues%20after%20upgrade%3F\"><h3>What to do if I run in some issues after upgrade?<\/h3><\/dt>\n<dd><p>Deactivate the plugin and reactivate it, if this doesn't work try to uninstall and reinstall it. That should\nwork! Otherwise, go to the new added module \"Setting\" and try a reset.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Extended support to WordPress 6.9<\/li>\n<li>updated dependencies<\/li>\n<li>improved functionalities<\/li>\n<\/ul>\n\n<h4>1.0.10<\/h4>\n\n<ul>\n<li>Extended support to WordPress 6.8<\/li>\n<li>updated dependencies<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Extended support to WordPress 6.7<\/li>\n<li>updated dependencies<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Extended support to WordPress 6.4<\/li>\n<li>updated dependencies<\/li>\n<\/ul>","raw_excerpt":"The Coder Block plugin allows embedding php code inside of posts and pages within the new Block Editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/146768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=146768"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sh1zen"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=146768"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=146768"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=146768"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=146768"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=146768"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=146768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}