Title: WP Code Prettify
Author: Soli
Published: <strong>13 Tháng 5, 2011</strong>
Last modified: 27 Tháng 4, 2019

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/wp-code-prettify.svg)

# WP Code Prettify

 Bởi [Soli](https://profiles.wordpress.org/allnull/)

[Tải về](https://downloads.wordpress.org/plugin/wp-code-prettify.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wp-code-prettify/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wp-code-prettify/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wp-code-prettify/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wp-code-prettify/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-code-prettify/)

## Mô tả

This plugin enable syntax highlighting of code snippets in your post using Google
Code Prettify.

#### Chức năng

 * More styles.
 * Colors can be customized.
 * The js/css files can be pre-loaded or post-loaded.
 * No js/css files are loaded if there is no code.

## Ảnh màn hình

[⌊The settings menu⌉⌊The settings menu⌉[

The settings menu

## Cài đặt

 1. Upload the full directory into your wp-content/plugins directory
 2. Activate the plugin at the plugin administration page
 3. Open the plugin configuration page, which is located under “Settings -> WP Code
    Prettify” and customize settings.

## Hỏi đáp

  What is it?

This plugin enable syntax highlighting of code snippets in your post using Google
Code Prettify.

## Đánh giá

![](https://secure.gravatar.com/avatar/ca17d7900f3ebbb3b83fdb1c39ddb31909429fd3182a0618074d04ff06e4a0e7?
s=60&d=retro&r=g)

### 󠀁[nice plugin](https://wordpress.org/support/topic/nice-plugin-1370/)󠁿

 [proodos](https://profiles.wordpress.org/proodos/) 3 Tháng 9, 2016

works on wordpress 4.4.1. thank you for solving the bug.

 [ Đọc tất cả 3 đánh giá ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/)

## Người đóng góp & Lập trình viên

“WP Code Prettify” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Soli ](https://profiles.wordpress.org/allnull/)
 *   [ soli ](https://profiles.wordpress.org/soli/)

[Dịch “WP Code Prettify” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-code-prettify)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wp-code-prettify/), check
out [SVN repository](https://plugins.svn.wordpress.org/wp-code-prettify/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/wp-code-prettify/)
qua [RSS](https://plugins.trac.wordpress.org/log/wp-code-prettify/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.2.8

 * Tested up to: 5.2

#### 0.2.7

 * fix security issues;

#### 0.2.6

 * fix “undefined index: head_custom”;

#### 0.2.5

 * custom HTML can be add into \<head>, so you can include some js files, such as
   lang-matlab.js;
 * using plugins_url() instead of content_url();
 * Tested up to: 4.4

#### 0.2.4

 * fix “Strict Standards” error ( Thanks bassjobsen [https://wordpress.org/support/profile/bassjobsen](https://wordpress.org/support/profile/bassjobsen));
 * Tested up to: 4.0

#### 0.2.3

 * fix js conflict with other plugins (Thanks the_champ [https://wordpress.org/support/profile/the_champ](https://wordpress.org/support/profile/the_champ))
 * Tested up to: 3.9.1

#### 0.2.2

 * Tested up to: 3.9.0

#### 0.2.1

 * Tested up to: 3.8.1

#### 0.2.0

 * fix links of js/css files via https

#### 0.1.9

 * update google code prettify to 4-Mar-2013 (fix css files)

#### 0.1.8

 * update google code prettify to 4-Mar-2013

#### 0.1.7

 * fix some warning.
 * improve options page

#### 0.1.6

 * Tested up to: 3.4.2

#### 0.1.5

 * fix “You do not have sufficient permissions to access this page.”.

#### 0.1.4

 * fix “Notice: Undefined index: wpcp_update_options”.
 * Tested up to: 3.4.1

#### 0.1.3

 * update version number.

#### 0.1.2

 * fix “You do not have sufficient permissions to access this page.”.

#### 0.1.1

 * update version number.

#### 0.1.0

 * first version.

## Meta

 *  Phiên bản **0.2.8**
 *  Cập nhật lần cuối **7 năm trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 3.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.2.24**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-code-prettify/)
 * Thẻ
 * [code](https://vi.wordpress.org/plugins/tags/code/)[google](https://vi.wordpress.org/plugins/tags/google/)
   [Highlight](https://vi.wordpress.org/plugins/tags/highlight/)[highlighter](https://vi.wordpress.org/plugins/tags/highlighter/)
   [prettify](https://vi.wordpress.org/plugins/tags/prettify/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-code-prettify/advanced/)

## Đánh giá

 4.7 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-code-prettify/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-code-prettify/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-code-prettify/reviews/)

## Những người đóng góp

 *   [ Soli ](https://profiles.wordpress.org/allnull/)
 *   [ soli ](https://profiles.wordpress.org/soli/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-code-prettify/)