Title: Advanced Custom Fields: Restrict Color Picker Options
Author: Adam Walter
Published: <strong>8 Maret 2016</strong>
Last modified: 25 Januari 2022

---

Cari plugin

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

![](https://ps.w.org/acf-restrict-color-picker/assets/icon-256x256.png?rev=2030099)

# Advanced Custom Fields: Restrict Color Picker Options

 Oleh [Adam Walter](https://profiles.wordpress.org/adamwalter/)

[Unduh](https://downloads.wordpress.org/plugin/acf-restrict-color-picker.1.3.1.zip)

 * [Detail](https://id.wordpress.org/plugins/acf-restrict-color-picker/#description)
 * [Ulasan](https://id.wordpress.org/plugins/acf-restrict-color-picker/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/acf-restrict-color-picker/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/acf-restrict-color-picker/#developers)

 [Bantuan](https://wordpress.org/support/plugin/acf-restrict-color-picker/)

## Deskripsi

Restrict Advanced Custom Fields color picker field to a specific subset of custom
colors. Removes the color wheel and slider from the field UI so the user can’t pick
any other colors

#### Features

**Include the color palette from the current theme** by enabling the option on the
plugin settings page.

**Get the current color options palette** in your template code with the `acfrcpo_get_color_options`
function.

## Tangkapan Layar

[⌊Comma-separated list of HEX color values used to define the color options. Optionally
include the current theme's color palette as well.⌉⌊Comma-separated list of HEX 
color values used to define the color options. Optionally include the current theme's
color palette as well.⌉[

Comma-separated list of HEX color values used to define the color options. Optionally
include the current theme’s color palette as well.

[⌊Simple color swatches allow the user to easily choose from your color set.⌉⌊Simple
color swatches allow the user to easily choose from your color set.⌉[

Simple color swatches allow the user to easily choose from your color set.

## Instalasi

 1. Upload `acf-restrict-color-picker` to the `/wp-content/plugins/` directory
 2. Aktifkan plugin melalui menu ‘Plugins’ di WordPress

## Tanya Jawab

### I have a question

Leave your question in the support tab and we’ll respond!

## Ulasan

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2059/)󠁿

 [thehappyhipster](https://profiles.wordpress.org/thehappyhipster/) 19 April 2022

Perfect, easy solution. Awesome that it can fetch the theme colors defined in theme.
json to. Thank you for sharing!

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

### 󠀁[WOW genau das habe ich gesucht!](https://wordpress.org/support/topic/wow-genau-das-habe-ich-gesucht/)󠁿

 [4system](https://profiles.wordpress.org/4system/) 1 Mei 2021

Einfach klasse. Vielen Dank.

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

### 󠀁[This is Ok!](https://wordpress.org/support/topic/this-is-ok-3/)󠁿

 [Anne Warren](https://profiles.wordpress.org/annewarren/) 4 Desember 2020

I used it, felt great!

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-7866/)󠁿

 [permanyer](https://profiles.wordpress.org/permanyer/) 19 November 2020

Perfect! 1M Thanks!

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

### 󠀁[Awesome Addon for ACF](https://wordpress.org/support/topic/awesome-addon-for-acf/)󠁿

 [makkal](https://profiles.wordpress.org/makkal/) 24 Oktober 2016

Colors can be chosen easily. Thumps up.

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

### 󠀁[Handy!](https://wordpress.org/support/topic/handy-39/)󠁿

 [ProfessionalWerewolf](https://profiles.wordpress.org/professionalwerewolf/) 3 
September 2016

A solid plugin. Really handy for simplifying the color picker.

 [ Baca semua 7 ulasan ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/)

## Kontributor & Pengembang

“Advanced Custom Fields: Restrict Color Picker Options” adalah perangkat lunak open
source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor

 *   [ Adam Walter ](https://profiles.wordpress.org/adamwalter/)
 *   [ Sean Dempsey ](https://profiles.wordpress.org/seanseansean/)
 *   [ antishow ](https://profiles.wordpress.org/antishow/)
 *   [ makkal ](https://profiles.wordpress.org/makkal/)

[Terjemahkan “Advanced Custom Fields: Restrict Color Picker Options” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/acf-restrict-color-picker)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/acf-restrict-color-picker/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/acf-restrict-color-picker/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/acf-restrict-color-picker/)
melalui [RSS](https://plugins.trac.wordpress.org/log/acf-restrict-color-picker/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 1.3.1

 * Bug fix: Adds check for false return from get_theme_support (Thanks @faketib0
   and Dan Mensinger!)

#### 1.3

 * Adds option to include the current theme’s colors. Thank you to @mrwweb for this
   idea!
 * Adds acfrcpo_get_color_options function to get the current color palette. Thank
   you to @badjesus for the feature request!

#### 1.2.1

 * Fixes $l10n parameter syntax in wp_localize_script.

#### 1.2

 * Finally fixes long standing issue with multiple instances of color pickers.

#### 1.1

 * Change the plugin name to better match similar plugins in the ACF world.

#### 1.0

 * First version of the plugin

## Meta

 *  Versi **1.3.1**
 *  Diperbarui **5 tahun yang lalu**
 *  Instalasi Aktif **1,000+**
 *  Versi WordPress ** 4.0 atau yang terbaru **
 *  Diuji hingga **5.9.19**
 *  Versi PHP ** 7.0 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/acf-restrict-color-picker/)
 * Tag
 * [acf](https://id.wordpress.org/plugins/tags/acf/)[color](https://id.wordpress.org/plugins/tags/color/)
   [custom fields](https://id.wordpress.org/plugins/tags/custom-fields/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/acf-restrict-color-picker/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  6 ulasan 5-bintang     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=5)
 *  [  0 ulasan 4-bintang     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=4)
 *  [  0 ulasan 3-bintang     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=3)
 *  [  0 ulasan 2-bintang     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=2)
 *  [  0 ulasan 1-bintang     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/)

## Kontributor

 *   [ Adam Walter ](https://profiles.wordpress.org/adamwalter/)
 *   [ Sean Dempsey ](https://profiles.wordpress.org/seanseansean/)
 *   [ antishow ](https://profiles.wordpress.org/antishow/)
 *   [ makkal ](https://profiles.wordpress.org/makkal/)

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/acf-restrict-color-picker/)