Title: Coder Block
Author: sh1zen
Published: <strong>2021 年 10 月 14 日</strong>
Last modified: 2026 年 3 月 12 日

---

搜索插件

![](https://ps.w.org/coder-block/assets/banner-772x250.jpg?rev=2614157)

![](https://ps.w.org/coder-block/assets/icon-256x256.png?rev=2614157)

# Coder Block

 作者：[sh1zen](https://profiles.wordpress.org/sh1zen/)

[下载](https://downloads.wordpress.org/plugin/coder-block.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/coder-block/#description)
 * [评价](https://cn.wordpress.org/plugins/coder-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/coder-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/coder-block/#developers)

 [支持](https://wordpress.org/support/plugin/coder-block/)

## 描述

Now is very easy to share code in your website with Gutenberg and the power of [Ace](https://ace.c9.io/),
an embeddable code editor written in JavaScript with the features and performance
of native editors such as Sublime, Vim and TextMate.

Each instance of Coder Block support:

 * Different languages: html, php, css, javascript, python,…
 * Syntax highlighting with more than 10 themes to choose.
 * Other options to select the font size of the code and lines to show without scroll.
 * **Code evaluation in your posts/pages.**

**Code evaluation**

With this feature each page will evaluate the code published within the coder block.

Up to now are supported PHP, Javascript and CSS only.

**DONATIONS**

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
 beer or coffee [here](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),
I will really appreciate it.

## 区块

该插件提供了 1 个区块.

 *   Code Editor A simple way to share and evaluate code with Gutenberg.

## 安装

This section describes how to install the plugin. In general, there are 3 ways to
install this plugin like any other
 WordPress plugin.

**1. VIA WORDPRESS DASHBOARD**

 * Click on ‘Add New’ in the plugins’ dashboard
 * Search for ‘WP Optimizer’
 * Click ‘Install Now’ button
 * Activate the plugin from the same page or from the Plugins Dashboard

**2. VIA UPLOADING THE PLUGIN TO WORDPRESS DASHBOARD**

 * Download the plugin to your computer
    from [https://wordpress.org/plugins/coder-block/](https://wordpress.org/plugins/coder-block/)
 * Click on ‘Add New’ in the plugins dashboard
 * Click on ‘Upload Plugin’ button
 * Select the zip file of the plugin that you have downloaded to your computer before
 * Click ‘Install Now’
 * Activate the plugin from the Plugins Dashboard

**3. VIA FTP**

 * Download the plugin to your computer
    from [https://wordpress.org/plugins/coder-block/](https://wordpress.org/plugins/coder-block/)
 * Unzip the zip file, which will extract the main directory
 * Upload the main directory (included inside the extracted folder) to the /wp-content/
   plugins/ directory of your website
 * Activate the plugin from the Plugins Dashboard

**FOR MULTISITE INSTALLATION**

 * Log in to your primary site and go to “My Sites” » “Network Admin” » “Plugins”
 * Install the plugin following one of the above ways
 * Network activate the plugin

**INSTALLATION DONE, A NEW LABEL WILL BE DISPLAYED ON YOUR ADMIN MENU**

## 常见问题

### What to do if I run in some issues after upgrade?

Deactivate the plugin and reactivate it, if this doesn’t work try to uninstall and
reinstall it. That should
 work! Otherwise, go to the new added module “Setting”
and try a reset.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Coder Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sh1zen ](https://profiles.wordpress.org/sh1zen/)

[帮助将「Coder Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/coder-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/coder-block/)，查看[SVN仓库](https://plugins.svn.wordpress.org/coder-block/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/coder-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/coder-block/)。

## 更新日志

#### 1.1.0

 * Extended support to WordPress 6.9
 * updated dependencies
 * improved functionalities

#### 1.0.10

 * Extended support to WordPress 6.8
 * updated dependencies

#### 1.0.9

 * Extended support to WordPress 6.7
 * updated dependencies

#### 1.0.6

 * Extended support to WordPress 6.4
 * updated dependencies

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/coder-block/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[code](https://cn.wordpress.org/plugins/tags/code/)
   [functions](https://cn.wordpress.org/plugins/tags/functions/)[php](https://cn.wordpress.org/plugins/tags/php/)
   [snippets](https://cn.wordpress.org/plugins/tags/snippets/)
 *  [高级视图](https://cn.wordpress.org/plugins/coder-block/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/coder-block/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/coder-block/reviews/)

## 贡献者

 *   [ sh1zen ](https://profiles.wordpress.org/sh1zen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/coder-block/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](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)