Title: Chunks
Author: Konstantin Kovshenin
Published: <strong>2011 年 3 月 14 日</strong>
Last modified: 2011 年 6 月 17 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Chunks

 由 [Konstantin Kovshenin](https://profiles.wordpress.org/kovshenin/) 開發

[下載](https://downloads.wordpress.org/plugin/chunks.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/chunks/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/chunks/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/chunks/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/chunks/#developers)

 [技術支援](https://wordpress.org/support/plugin/chunks/)

## 外掛說明

Chunks is for theme developers that have their themes filled with footer notes, 
copyright notices, block titles and descriptions, slogans, etc, which are sometimes
hard-coded into the theme, sometimes localized (can be changed in po and mo files)
and sometimes taken out to the theme options.

Chunks will do the job for you. A “chunk” is a piece of HTML code that could be 
inserted anywhere in your theme and edited from the Theme Chunks page under Appearance
in your admin panel. Use register_chunks() in your functions.php to register chunks
for your theme and use the chunk() to get the chunk value anywhere in your template
files.

It’ll take you 5 minutes to implement Chunks in your theme: [Getting Started with Chunks](http://kovshenin.com/wordpress/plugins/chunks/)

## 螢幕擷圖

[⌊The Theme Chunks screen⌉⌊The Theme Chunks screen⌉[

The Theme Chunks screen

## 安裝方式

 1. Upload archive contents to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Modify your theme to [implement chunks](http://kovshenin.com/wordpress/plugins/chunks/).
 4. Look for the ‘Theme Chunks’ option under your ‘Appearance’ menu.

## 常見問題集

  Can I use chunks in my posts or pages?

Of course, try out the chunk shortcode!

  Can I use HTML in my Chunks?

Yes.

  Can I use Javascript in my Chunks?

Yes, but be careful.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Chunks〉的開發相關工作。

參與者

 *   [ Konstantin Kovshenin ](https://profiles.wordpress.org/kovshenin/)

[將〈Chunks〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/chunks)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/chunks/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/chunks/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/chunks/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/chunks/)。

## 變更記錄

#### 1.1

 * Chunk shortcode implemented
 * Cleanup and coding style

#### 1.0

 * Chunks went from personal project to public!

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.1.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/chunks/)
 * 標籤:
 * [theme](https://tw.wordpress.org/plugins/tags/theme/)[utility](https://tw.wordpress.org/plugins/tags/utility/)
 *  [進階檢視](https://tw.wordpress.org/plugins/chunks/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/chunks/reviews/)

## 參與者

 *   [ Konstantin Kovshenin ](https://profiles.wordpress.org/kovshenin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/chunks/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://kovshenin.com/wordpress/plugins/chunks/)