s3rgiosan / wpcustomize-api-plus
WordPress Theme Customize Custom Controls.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:wordpress-plugin
Requires
- composer/installers: ~1.0
Requires (Dev)
This package is not auto-updated.
Last update: 2023-11-11 18:28:50 UTC
README
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
A collection of custom controls you can use in your WordPress theme customizer.
Description
A collection of custom controls you can use in your WordPress theme customizer.
This library is based on the awesome work by Paul Underwood.
So far this collection consists of:
- Date Picker - jQuery UI Datepicker
Usage
Adds a jQuery UI Datepicker control
$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.
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.
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
Frequently Asked Questions
Where can I report bugs?
Bugs can be reported on the GitHub repository.
How can I contribute?
Join in on our GitHub repository and read our contribution guidelines.
Changelog
1.0.0
- Initial release.
Upgrade Notice
1.0
Initial release.