Plugin info

Total downloads: 18,596
Active installs: 1,000
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/29/2018 (2589 days ago)
Added to WordPress: 2/14/2018 (7 years old)
Minimum WordPress version: 4.0
Tested up to WordPress version: f
Minimum PHP version: 5.6

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2589 days ago • 1 reviews

22/100

Is ACF Color Swatches abandoned?

Possibly abandoned (last update 2589 days ago).

Compatibility

Requires WordPress: 4.0
Tested up to: f
Requires PHP: 5.6

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Gearment Import Flatsome
Rating 0.0/5 (0 reviews)Active installs 10

Description

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)

Installation

  1. Make sure to have 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

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Use the same syntax as defining ACF radio buttons

    Use the same syntax as defining ACF radio buttons

  2. Users will see color swatches that act like radio buttons

    Users will see color swatches that act like radio buttons

Changelog

4/25/18 – v1.0.7

  • issue – Fixed bug with returning value instead of array

10/23/17 – v1.0.6

  • d57ec40 – Match background-color syntax
  • 4892d0e – Allow transparent values to be selected

10/23/17 – v1.0.5

  • fa93a8b – Add return value option

2/13/17 – v1.0.4

  • 44912a6 – Allow inclusion within theme

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

  • 7bdc1d2 – Improved composer instructions

10/7/16 – v1.0.3

  • 9d733d9 – Add composer.json
  • Added readme.txt for WordPress plugin database

5/19/16 – v1.0.3-alpha

  • 0b1b7f6 – 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