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://tw.wordpress.org/plugins/coder-block/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/coder-block/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/coder-block/#installation)
 * [開發資訊](https://tw.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 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   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**
 *  最後更新 **5 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.5**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/coder-block/)
 * 標籤:
 * [block](https://tw.wordpress.org/plugins/tags/block/)[code](https://tw.wordpress.org/plugins/tags/code/)
   [functions](https://tw.wordpress.org/plugins/tags/functions/)[php](https://tw.wordpress.org/plugins/tags/php/)
   [snippets](https://tw.wordpress.org/plugins/tags/snippets/)
 *  [進階檢視](https://tw.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)