Coder Block

外掛說明

Now is very easy to share code in your website with Gutenberg and the power of Ace, 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, 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/
  • 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/
  • 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〉的開發相關工作。

參與者

將〈Coder Block〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.8

  • Extended support to WordPress 6.5
  • updated dependencies

1.0.6

  • Extended support to WordPress 6.4
  • updated dependencies

1.0.4

  • Extended support to WordPress 6.1
  • updated dependencies

1.0.3

  • updated dependencies

1.0.2

  • Extended support to WordPress 6.0

1.0.1

  • Extended support to PHP 8.1 and WordPress 5.9
  • Updated dependencies

1.0.0

  • Initial Release