diff --git a/README.md b/README.md index 4544199..b6d3a04 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ A helper package for working with the WordPress Customizer ### Basics +#### Configuration ```php +radio( 'my-radio', 'Radio', ['option1' => 'Option 1', 'option2' => 'Option 2'] ); ->select( 'my-select', 'Select', ['option1' => 'Option 1', 'option2' => 'Option 2'] ); ->text( 'my-text', 'Text' ) - ->textarea( 'my-textarea', 'Textare' ) - ->url( 'my-url', 'Url' ) + ->textarea( 'my-textarea', 'Textarea' ) + ->url( 'my-url', 'Url' ); +``` + +#### Retrieving data +```php +