This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Kirki\Controls; | |
/** | |
* Class SliderControl | |
* @package Kirki\Controls | |
* @modified Enrico Ripalti: added "units" value, if defined inside "choices" array of control, to make the slider work | |
* work with css property in postMessage transport mode. See variables $cmValue and $cmUnits | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Handles the init and hooks to the customize_register action | |
* | |
* @author Enrico Ripalti | |
* | |
* @param WP_Customize_Manager $wp_customize: The WP_Customize_Manager instance | |
* @hooked customize_register | |
*/ | |
function commlyCustomizerInit( $wp_customize ) { |