Title: Advanced Custom Fields: Range Field
Author: Viktor Solovej
Published: <strong>2013 年 12 月 23 日</strong>
Last modified: 2014 年 8 月 30 日

---

搜尋外掛

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

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

# Advanced Custom Fields: Range Field

 由 [Viktor Solovej](https://profiles.wordpress.org/viriava/) 開發

[下載](https://downloads.wordpress.org/plugin/acf-range-field.1.1.4.zip)

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

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

## 外掛說明

This is an add-on for the [Advanced Custom Fields](https://wordpress.org/extend/plugins/advanced-custom-fields/)
WordPress plugin, that allows you to add a jQuery Range Slider field type. http://
jqueryui.com/slider/

Read more here: https://github.com/viriava/acf-field-range

## 螢幕擷圖

[⌊Default look⌉⌊Default look⌉[

Default look

## 安裝方式

This add-on can be treated as both a WP plugin and a theme include.

#### Plugin

 1. Copy the ‘acf-range’ folder into your plugins folder
 2. Activate the plugin via the Plugins admin page

#### Include

 1. Copy the ‘acf-range’ folder into your theme folder (can use sub folders). You can
    place the folder anywhere inside the ‘wp-content’ directory
 2. Edit your functions.php file and add the code below (Make sure the path is correct
    to include the acf-range.php file)
 3. add_action(‘acf/register_fields’, ‘my_register_fields’);
 4. function my_register_fields() { include_once(‘acf-range/acf-range.php’); }

## 常見問題集

  What does it return?

If the type is Default, it returns the number.

If the type is Range, it returns an array of minimum and maximum numbers.

    ```
        array(2) { 
            ["min"]=> float(0) 
            ["max"]=> float(0) 
        }
    ```

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Viktor Solovej ](https://profiles.wordpress.org/viriava/)

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

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

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

## 變更記錄

#### 1.1.4

 * If a new post/page is created with a range field the default value is not returned
   since the user change the slider. I have changed the code so that the default
   value is returned if the user doesn’t change the slider.

#### 1.1.3

 * ACF5 compatible

#### 1.1.2

 * ZERO bug fixed

#### 1.1.1

 * Updated parseInt to parseFloat

#### 1.1.0

 * Added descriptions for fields
 * Added default values
 * Updated prepend and append functionality

#### 1.0.0

 * Initial version

## 中繼資料

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

## 評分

 5 星，滿分為 5 星

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

[撰寫評分](https://wordpress.org/support/plugin/acf-range-field/reviews/#new-post)

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

## 參與者

 *   [ Viktor Solovej ](https://profiles.wordpress.org/viriava/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://www.crazyxhtml.com)