File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,26 @@ Note that while the field can recognize these shortened syntaxes to display the
4141Installation
4242===
4343
44+ Normal
45+ ---
4446* Clone the repository to /wp-content/plugins/ in your Wordpress installation
4547* Activate in the Plugins manager.
4648
47- OR
49+ or
4850
49- * Install using composer ` composer install `
51+ Composer
52+ ---
53+ If using Composer (e.g. with [ Bedrock] ( https://roots.io/bedrock/ ) )
54+ * Add repo to ` composer.json ` :
55+ ``` json
56+ "repositories" : [
57+ {
58+ "type" : " git" ,
59+ "url" : " https://github.com/nickforddesign/acf-swatch"
60+ }
61+ ]
62+ ```
63+ * Install using composer ` composer require nickford/acf-swatch `
5064
5165Suggested Usage
5266===
Original file line number Diff line number Diff line change 2121 var val = $ ( this ) . val ( ) ;
2222 var result ;
2323
24- console . info ( val )
25-
2624 // check if color statement is in shorthand syntax
2725
2826 if ( val . indexOf ( '#' ) < 0 && val . indexOf ( 'rgb' ) < 0 && val . indexOf ( 'hsl' ) < 0 ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments