Title: Custom Field Snippet
Author: 水野史土
Published: <strong>2012 年 11 月 13 日</strong>
Last modified: 2014 年 6 月 1 日

---

搜尋外掛

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

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

# Custom Field Snippet

 由 [水野史土](https://profiles.wordpress.org/ounziw/) 開發

[下載](https://downloads.wordpress.org/plugin/custom-field-snippet.zip)

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

 [技術支援](https://wordpress.org/support/plugin/custom-field-snippet/)

## 外掛說明

This plugin creates and shows the snippets which display your custom field data.
You can display your custom field data, by pasting these codes to your theme.

This plugin saves the time for theme developers/designers writing codes.

When you are using ACF, tab fields for ACF is displayed. The default tab is hidden.

If you need the default tab while you are using ACF, please add this code below 
into your theme’s functions.php

// start from here
 add_action( ‘init’, ‘register_default_tab’); function register_default_tab(){
register_cfs_tabs(‘Defaulttab’); } // end

Extension plugin is available from [http://wp.php-web.net/?p=275](http://wp.php-web.net/?p=275)

This plugin supports Advanced Custom Fields Repeater addon and Advanced Custom Fields
Flexible addon.

It may take times to support ACF5, since ACF5 changes dramatically. If you want 
quick update to support ACF5, you can pay for me http://pledgie.com/campaigns/8706

## 螢幕擷圖

 * [[
 * snippet for custom field
 * [[
 * when you use Advanced Custom Field

## 安裝方式

 1. Upload `custom-field-snippet.php` to the `/wp-content/plugins/` directory

## 常見問題集

  Do I need Advanced Custom Fields plugin?

Not necessary. You can enjoy this plugin with WordPress default custom fields.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ 水野史土 ](https://profiles.wordpress.org/ounziw/)

[將〈Custom Field Snippet〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/custom-field-snippet)

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

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

## 變更記錄

4.2 ACFnoESC moves to the extention plugin

4.1 supports repeater/flexible conditional

4.0 You can use this plugin for any post_type.

3.9 remove option when uninstall this plugin

3.8 bug fix for cfs_add_conditional

3.7 bug fix for acfnoesc

3.6 supports repeater & flexible content fields. (one level only.)

3.5 supports the_field (Caution: you have to care escaping by yourself.)

3.4 bug fix. supports multiple choice field for conditional logic

3.3 bug fix. jquery ui tab support, when you do not use Advanced Custom Fields.

3.2 Refactoring. add get_metadata() method, which returns an array of postmeta key/
values.

3.1 bug fix. Show only snippets that match the post/page.

3.0 upport for Advanced Custom Fields 4.0

2.1.1 support for Advanced Custom Fields 3.5.7

2.1 add filter: cfs_tabs_class

2.0 JQuery UI tab. Supports user defined tab.

1.2 internationalization ready

1.1 new feature: Advanced Custom Fields repeater field

## 中繼資料

 *  版本 **4.2**
 *  最後更新 **12 年前**
 *  啟用安裝數 **40+**
 *  WordPress 版本需求 ** 3.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.9.40**
 *  語言
 * [English (US)](https://wordpress.org/plugins/custom-field-snippet/)
 * 標籤
 * [custom field](https://tw.wordpress.org/plugins/tags/custom-field/)[snippet](https://tw.wordpress.org/plugins/tags/snippet/)
   [theme](https://tw.wordpress.org/plugins/tags/theme/)
 *  [進階檢視](https://tw.wordpress.org/plugins/custom-field-snippet/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/custom-field-snippet/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/custom-field-snippet/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/custom-field-snippet/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/custom-field-snippet/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/custom-field-snippet/reviews/?filter=1)

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

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

## 參與者

 *   [ 水野史土 ](https://profiles.wordpress.org/ounziw/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://pledgie.com/campaigns/8706)