* @license http://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/maddisondesigns */ class Billow_Text_Radio_Button_Custom_Control extends WP_Customize_Control { /** * The type of control being rendered */ public $type = 'text_radio_button'; /** * Enqueue our scripts and styles */ public function enqueue() { wp_enqueue_style( 'billow-custom-controls-css', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/custom-controls/css/customizer.css', array(), '1.0', 'all' ); } /** * Render the control in the customizer */ public function render_content() { ?>
* @license http://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/maddisondesigns */ class Billow_Image_Radio_Button_Custom_Control extends WP_Customize_Control { /** * The type of control being rendered */ public $type = 'image_radio_button'; /** * Enqueue our scripts and styles */ public function enqueue() { wp_enqueue_style( 'billow-custom-controls-css', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/custom-controls/css/customizer.css', array(), '1.0', 'all' ); } /** * Render the control in the customizer */ public function render_content() { ?> * @license http://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/maddisondesigns */ class Billow_Slider_Custom_Control extends WP_Customize_Control { /** * The type of control being rendered */ public $type = 'slider_control'; /** * Enqueue our scripts and styles */ public function enqueue() { wp_enqueue_script( 'billow-custom-controls-js', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/custom-controls/js/customizer.js', array( 'jquery', 'jquery-ui-core' ), '1.0.1', true ); wp_enqueue_style( 'billow-custom-controls-css', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/custom-controls/css/customizer.css', array(), '1.0', 'all' ); } /** * Render the control in the customizer */ public function render_content() { ?> description ) ) { ?> description ); ?> * @license http://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/maddisondesigns */ class Billow_Toggle_Switch_Custom_control extends WP_Customize_Control { /** * The type of control being rendered */ public $type = 'toogle_switch'; /** * Enqueue our scripts and styles */ public function enqueue(){ wp_enqueue_style( 'billow-custom-controls-css', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/custom-controls/css/customizer.css', array(), '1.0', 'all' ); } /** * Render the control in the customizer */ public function render_content(){ ?>