, (*1)
Customize API Plus
Contributors: s3rgiosan
Tags: customize, customizer, library, datepicker
Requires at least: 4.7
Tested up to: 4.7
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html, (*2)
A collection of custom controls you can use in your WordPress theme customizer., (*3)
Description
A collection of custom controls you can use in your WordPress theme customizer., (*4)
This library is based on the awesome work by Paul Underwood., (*5)
So far this collection consists of:, (*6)
Usage
$wp_customize->add_control(
new s3rgiosan\WP\Plugin\Customize\Date\DatePicker(
$wp_customize,
'field_id',
array(
'type' => 'date_picker',
'label' => 'Date',
'description' => 'The start date.',
'input_attrs' => array(
'placeholder' => 'YYYY-MM-DD',
'js_opts' => array(
'dateFormat' => 'yy-mm-dd'
),
),
)
)
);
Use js_opts
to pass options to the jQuery UI Datepicker., (*7)
Installation
Even though Customize API Plus exists as a plugin, it doesn't do anything by
itself, but it does make its classes and functions available so you don't have
to include it as a dependency in every single one of your plugins or themes., (*8)
Dashboard
- Go to the 'Plugins' menu, and choose 'Add New'.
- Search for 'wpcustomize-api-plus', and then click 'Install Now'.
- Click 'Activate'.
FTP
- Download and extract the .zip file.
- Upload the unzipped folder to the
/wp-content/plugins/
directory.
- Activate the plugin through the 'Plugins' menu.
Composer
composer require s3rgiosan/wpcustomize-api-plus
, (*9)
Frequently Asked Questions
Where can I report bugs?
Bugs can be reported on the GitHub repository., (*10)
How can I contribute?
Join in on our GitHub repository and read our contribution guidelines., (*11)
Changelog
1.0.0
Upgrade Notice
1.0
Initial release., (*12)