Skip to content

Commit ebefd07

Browse files
committed
updated readme.md and added readme.txt
1 parent 9d733d9 commit ebefd07

File tree

2 files changed

+64
-2
lines changed

2 files changed

+64
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ ACF - Color Swatch field add-on
44
* **Author:** Nick Ford
55
* **Tags:** acf, acf add-on, color, color swatch, color swatches
66
* **Requires at least:** 4.0
7-
* **Tested up to:** 4.4.3
8-
* **Note: Does not yet work with 5+**
7+
* **Tested up to:** 5
98

109
License: [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html) or later
1110

@@ -45,6 +44,10 @@ Installation
4544
* Clone the repository to /wp-content/plugins/ in your Wordpress installation
4645
* Activate in the Plugins manager.
4746

47+
OR
48+
49+
* Install using composer `composer install`
50+
4851
Suggested Usage
4952
===
5053

@@ -92,6 +95,12 @@ Screenshots
9295
Changelog
9396
===
9497

98+
10/7/16 - v1.0.3
99+
---
100+
* Merged 9d733d9 to master
101+
* Updated readme to reflect current previous pull request merges
102+
* Added readme.txt for Wordpress plugin database
103+
95104
11/9/15 - v1.0.2 New Features
96105
---
97106
* Added checkerboard pattern to indicate transparency

readme.txt

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
=== ACF Color Swatches ===
2+
Contributors: nickforddesign
3+
Tags: acf, advanced custom fields, color, swatch, color picker, select, options
4+
Requires at least: 3.0.1
5+
Tested up to: 4.6.1
6+
Stable tag: 4.3
7+
License: GPLv2 or later
8+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9+
10+
== Description ==
11+
12+
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.
13+
14+
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.
15+
16+
Supports all of the following color formats:
17+
18+
* hex: #FF0000
19+
* rgb: rgb(255,0,0)
20+
* rgba: rgba(255,0,0, 1)
21+
* hsl: hsl(0,100%,50%)
22+
* hsla: hsla(0,100%,50%, 1)
23+
* name: red
24+
25+
Note: you may also use `none` to show a transparent swatch with a checkerboard background.
26+
27+
= Compatibility =
28+
29+
This ACF field type is compatible with:
30+
31+
* ACF 4
32+
* ACF 5 (PRO version)
33+
34+
35+
== Installation ==
36+
37+
1. Make sure to have [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/ "ACF") plugin installed.
38+
2. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
39+
3. Activate the plugin through the 'Plugins' screen in WordPress
40+
4. Use the plugin while creating custom fields
41+
42+
43+
== Changelog ==
44+
45+
= 1.2 =
46+
* Added checkerboard pattern to indicate transparency
47+
* Added subtle border to show swatches that match the background color
48+
49+
= 1.1 =
50+
Vastly improved browser / OS support by replacing input elements with block elements
51+
52+
= 1.0 =
53+
Initial Release

0 commit comments

Comments
 (0)