Title: ACF Color Swatches
Author: nickforddesign
Published: <strong>14.02.2018</strong>
Last modified: 29.11.2018

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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

# ACF Color Swatches

 Автор: [nickforddesign](https://profiles.wordpress.org/nickforddesign/)

[Скачать](https://downloads.wordpress.org/plugin/acf-color-swatches.zip)

 * [Детали](https://ru.wordpress.org/plugins/acf-color-swatches/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/acf-color-swatches/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/acf-color-swatches/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/acf-color-swatches/#developers)

 [Поддержка](https://wordpress.org/support/plugin/acf-color-swatches/)

## Описание

An add-on for Advanced Custom Fields to allow users to select from a list of color
choices. Setting up the field works exactly like setting up a radio button list,
the main difference being that the key will also be used to style the element.

This is useful for allowing users to pick from a limited selection of colors, rather
than enter an arbitrary hex value or choose from a color picker.

Supports all of the following color formats:

 * hex: #FF0000
 * rgb: rgb(255,0,0)
 * rgba: rgba(255,0,0, 1)
 * hsl: hsl(0,100%,50%)
 * hsla: hsla(0,100%,50%, 1)
 * name: red

Note: you may also use `none` to show a transparent swatch with a checkerboard background.

### Compatibility

This ACF field type is compatible with:

 * ACF 4
 * ACF 5 (PRO version)

## Скриншоты

[⌊Use the same syntax as defining ACF radio buttons⌉⌊Use the same syntax as defining
ACF radio buttons⌉[

Use the same syntax as defining ACF radio buttons

[⌊Users will see color swatches that act like radio buttons⌉⌊Users will see color
swatches that act like radio buttons⌉[

Users will see color swatches that act like radio buttons

## Установка

 1. Make sure to have [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)
    plugin installed.
 2. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 3. Activate the plugin through the ‘Plugins’ screen in WordPress
 4. Use the plugin while creating custom fields

## Отзывы

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

### 󠀁[The missing ACF color swatch](https://wordpress.org/support/topic/the-missing-acf-color-swatch/)󠁿

 [gnou](https://profiles.wordpress.org/gnou/) 23.09.2018

Great addition to the ACF family.

 [ Посмотреть 1 отзыв ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/)

## Участники и разработчики

«ACF Color Swatches» — проект с открытым исходным кодом. В развитие плагина внесли
свой вклад следующие участники:

Участники

 *   [ nickforddesign ](https://profiles.wordpress.org/nickforddesign/)

[Перевести «ACF Color Swatches» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/acf-color-swatches)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/acf-color-swatches/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/acf-color-swatches/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/acf-color-swatches/)
по [RSS](https://plugins.trac.wordpress.org/log/acf-color-swatches/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

4/25/18 — v1.0.7

 * [issue](https://github.com/nickforddesign/acf-swatch/issues/12) — Fixed bug with
   returning value instead of array

10/23/17 — v1.0.6

 * [d57ec40](https://github.com/nickforddesign/acf-swatch/pull/11) — Match background-
   color syntax
 * [4892d0e](https://github.com/nickforddesign/acf-swatch/pull/10) — Allow transparent
   values to be selected

10/23/17 — v1.0.5

 * [fa93a8b](https://github.com/nickforddesign/acf-swatch/pull/9) — Add return value
   option

2/13/17 — v1.0.4

 * [44912a6](https://github.com/nickforddesign/acf-swatch/pull/7) — Allow inclusion
   within theme

10/21/16 — v1.0.3-rc.1

 * [7bdc1d2](https://github.com/nickforddesign/acf-swatch/pull/5) — Improved composer
   instructions

10/7/16 — v1.0.3

 * [9d733d9](https://github.com/nickforddesign/acf-swatch/pull/4) — Add composer.
   json
 * Added readme.txt for WordPress plugin database

5/19/16 — v1.0.3-alpha

 * [0b1b7f6](https://github.com/nickforddesign/acf-swatch/pull/2) — Added support
   for ACF5

11/9/15 — v1.0.2

 * Added checkerboard pattern to indicate transparency
 * Added subtle border to show swatches that match the background color

10/14/15 — v1.0.1

 * Improved browser / OS support by replacing input elements with block elements

9/20/15 — v1.0.0

 * Initial Release

## Мета

 *  Версия **1.0.7**
 *  Обновление: **8 лет назад**
 *  Активных установок: **1 000+**
 *  Версия WordPress ** 4.0 или выше **
 *  Версия PHP ** 5.6 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/acf-color-swatches/)
 * Метки:
 * [acf](https://ru.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://ru.wordpress.org/plugins/tags/advanced-custom-fields/)
   [color](https://ru.wordpress.org/plugins/tags/color/)[color picker](https://ru.wordpress.org/plugins/tags/color-picker/)
   [swatch](https://ru.wordpress.org/plugins/tags/swatch/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/acf-color-swatches/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/acf-color-swatches/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/acf-color-swatches/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/acf-color-swatches/reviews/)

## Участники

 *   [ nickforddesign ](https://profiles.wordpress.org/nickforddesign/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/acf-color-swatches/)