add_panel( 'bc_image_panel', array( 'priority' => 31, 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => __( 'Masthead Section', 'broadcast-lite' ), ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_featured_image_settings' , array( 'title' => __( 'Featured Image', 'broadcast-lite' ), 'priority' => 10, 'panel' => 'bc_image_panel', ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_featured_video_settings' , array( 'title' => __( 'Featured Video', 'broadcast-lite' ), 'priority' => 10, 'panel' => 'bc_image_panel', ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_logo_image_settings' , array( 'title' => __( 'Site Logo', 'broadcast-lite' ), 'priority' => 20, 'panel' => 'bc_image_panel', ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_logo_watch_now_settings' , array( 'title' => __( 'Live Button (center)', 'broadcast-lite' ), 'priority' => 20.1, 'panel' => 'bc_image_panel', ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_logo_watch_now_header_settings' , array( 'title' => __( 'Watch Button (top right)', 'broadcast-lite' ), 'priority' => 20.1, 'panel' => 'bc_image_panel', ) ); // SECTION - bc_image_settings $wp_customize->add_section( 'bc_nav_settings' , array( 'title' => __( 'Navigation Settings', 'broadcast-lite' ), 'priority' => 20.3, // 'panel' => 'bc_image_panel', ) ); // SECTION - bc_colour_settings $wp_customize->add_section( 'bc_colour_settings' , array( 'title' => __( 'Color Settings', 'broadcast-lite' ), 'description' => 'Add a splash of Color to your page with our Color Settings. All of these colors can be overridden in each section.

Need help with Broadcast Theme Options? Check out our theme options guide or get in touch.', 'priority' => 20.2 ) ); // SECTION - bc_nav_settings // $wp_customize->add_section( 'bc_nav_settings' , array( // 'title' => __( 'Navigation Colors / Settings', 'broadcast-lite' ), // 'description' => '', // 'priority' => 20.2 // ) ); // SECTION - bc_affiliate_settings1 $wp_customize->add_section( 'bc_affiliate_links' , array( 'title' => __( 'Affiliate Section', 'broadcast-lite' ), 'priority' => 10, 'panel' => 'bc_affiliate_panel', 'description' => 'Need help with Broadcast Theme Options? Check out our theme options guide or get in touch.', ) ); // SECTION - bc_affiliate_settings1 $wp_customize->add_section( 'bc_affiliate_settings1' , array( 'title' => __( 'Affiliate Settings 1', 'broadcast-lite' ), 'priority' => 11, 'panel' => 'bc_affiliate_panel', ) ); // SECTION - bc_affiliate_settings2 $wp_customize->add_section( 'bc_affiliate_settings2' , array( 'title' => __( 'Affiliate Settings 2', 'broadcast-lite' ), 'priority' => 12, 'panel' => 'bc_affiliate_panel', ) ); // SECTION - bc_affiliate_settings3 $wp_customize->add_section( 'bc_affiliate_settings3' , array( 'title' => __( 'Affiliate Settings 3', 'broadcast-lite' ), 'priority' => 13, 'panel' => 'bc_affiliate_panel', ) ); // SECTION - bc_affiliate_settings4 $wp_customize->add_section( 'bc_affiliate_settings4' , array( 'title' => __( 'Affiliate Settings 4', 'broadcast-lite' ), 'priority' => 14, 'panel' => 'bc_affiliate_panel', ) ); // PANEL - bc_affiliate_panel $wp_customize->add_panel( 'bc_affiliate_panel', array( 'priority' => 31.4, 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => __('Affiliate Section', 'broadcast-lite'), 'description' => 'Need help with Broadcast Theme Options? Check out our theme options guide or get in touch.', ) ); // SECTION - bc_social_settings $wp_customize->add_section( 'bc_social_settings', array( 'title' => __('Social Links', 'broadcast-lite'), 'description' => 'Need help with Broadcast Theme Options? Check out our theme options guide or get in touch.', 'priority' => 34, ) ); } add_action( 'customize_register', 'broadcast_customize_register' ); function bc_colour_picker_js() { wp_enqueue_script( 'bc-colour-themer-chroma', get_template_directory_uri().'/dist/chroma.min.js', array( 'jquery', 'customize-controls' ), false, true ); wp_enqueue_script( 'bc-colour-themer-js', get_template_directory_uri().'/includes/functions/js/colourThemer.js', array( 'jquery'), false, true ); wp_enqueue_style( 'bc-layout-css', get_template_directory_uri() . '/includes/functions/css/layout.css', '', null ); } add_action( 'customize_controls_enqueue_scripts', 'bc_colour_picker_js' );