* @license http://www.gnu.org/licenses/gpl-2.0.html * @link https://github.com/maddisondesigns */ class Blogbaster_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( 'blogbaster-custom-controls', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/assets/js/custom-controls.js', array( 'jquery', 'jquery-ui-core' ), '1.0', true ); wp_enqueue_style( 'blogbaster-custom-controls', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/assets/css/custom-controls.css', array(), '1.0', 'all' ); } /** * Render the control in the customizer */ public function render_content() { ?>