add_panel('blogband_theme_option_panel', array( 'title' => esc_html__('Blogband - Portfolio Page', 'blogband'), 'priority' => 2, 'capability' => 'edit_theme_options', ) ); //BEGIN showcase $wp_customize->add_section('blogband_showcase_section', array( 'title' => __('Blogband - Portfolio Showcase', 'blogband'), 'priority' => 12, 'description' => __('Click the checkbox below to enable Section display on the front page', 'blogband'), 'panel' => 'blogband_theme_option_panel', )); //DISPLAY showcase $wp_customize->add_setting('blogband_showcase_display_settings', array( 'default' => __('Yes', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_display_control', array( 'label' => __('Display Showcase', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_display_settings', 'type' => 'checkbox', 'transport'=> 'refresh', ))); //SHOWCASE SECTION BACKGROUND COLOR $wp_customize->add_setting('blogband_showcase_section_bg_color_settings', array( 'default' => __('transparent', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', 'transport'=> 'postMessage', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_showcase_section_bg_color_control', array( 'label' => __('Showcase Section Background Color', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_section_bg_color_settings', ))); // $wp_customize->get_setting('blogband_showcase_section_bg_color_settings')->transport = 'postMessage'; //SHOWCASE VIEW HEIGHT $wp_customize->add_setting('blogband_showcase_view_height_settings', array( 'default' => __('80vh', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_view_height_control', array( 'label' => __('Showcase Height', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_view_height_settings', 'type' => 'select', 'choices' => array( '60vh' => '60vh', '65vh' => '65vh', '70vh' => '70vh', '75vh' => '75vh', '80vh' => '80vh', '85vh' => '85vh', '90vh' => '90vh', '95vh' => '95vh', '100vh' => '100vh', ) ))); //SHOWCASE BACKGROUND OVERLAY COLOR $wp_customize->add_setting('blogband_showcase_bg_overlay_color_settings', array( 'default' => __('#000', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_showcase_bg_overlay_color_control', array( 'label' => __('Showcase Background Overlay Color', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_bg_overlay_color_settings', ))); ////SHOWCASE BACKGROUND OVERLAY DISPLAY Z-INDEX $wp_customize->add_setting('blogband_showcase_bg_overlay_zindex_settings', array( 'default' => __('-1', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_bg_overlay_zindex_control', array( 'label' => __('Show Background Overlay', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_bg_overlay_zindex_settings', 'type' => 'select', 'choices' => array( '1' => 'Yes', '-1' => 'No', ) ))); ////SHOWCASE BACKGROUND OVERLAY OPACITY $wp_customize->add_setting('blogband_showcase_bg_overlay_opacity_settings', array( 'default' => __('.1', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_bg_overlay_opacity_control', array( 'label' => __('Adjust Background Overlay Opacity', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_bg_overlay_opacity_settings', 'type' => 'select', 'choices' => array( '.1' => '.1', '.2' => '.2', '.3' => '.3', '.4' => '.4', '.5' => '.5', '.6' => '.6', '.7' => '.7', '.8' => '.8', '.9' => '.9', ) ))); //SHOWCASE IMAGE $wp_customize->add_setting('blogband_showcase_img_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_showcase_img_control', array( 'label' => __('Showcase Image', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_img_settings', 'width' => 1000, 'height' => 1000, ))); //SHOWCASE IMAGE DISPLAY $wp_customize->add_setting('blogband_showcase_display_img_settings', array( 'default' => __('none', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_display_img_control', array( 'label' => __('Showcase Display Image', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_display_img_settings', 'type' => 'select', 'choices' => array( 'block' => 'Yes', 'none' => 'No', ) ))); //SHOWCASE TITLE TEXT $wp_customize->add_setting('blogband_showcase_title_settings', array( 'default' => __('Welcome to Blogband', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_title_control', array( 'label' => __('Enter Title', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_title_settings', 'type' => 'text', ))); //SHOWCASE FONT SIZE $wp_customize->add_setting('blogband_showcase_title_font_size_settings', array( 'default' => __('43px', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_title_font_size_control', array( 'label' => __('Showcase Desktop Screen Title Font Size', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_title_font_size_settings', 'type' => 'select', 'choices' => array( '20px' => '20px', '21px' => '21px', '22px' => '22px', '23px' => '23px', '24px' => '24px', '25px' => '25px', '26px' => '26px', '27px' => '27px', '28px' => '28px', '29px' => '29px', '30px' => '30px', '31px' => '31px', '32px' => '32px', '33px' => '33px', '34px' => '34px', '35px' => '35px', '36px' => '36px', '37px' => '37px', '38px' => '38px', '39px' => '39px', '40px' => '40px', '41px' => '41px', '42px' => '42px', '43px' => '43px', '44px' => '44px', '45px' => '45px', '46px' => '46px', '47px' => '47px', '48px' => '48px', '49px' => '49px', '50px' => '50px', '51px' => '51px', '52px' => '52px', '53px' => '53px', '54px' => '54px', '55px' => '55px', '56px' => '56px', ) ))); //SHOWCASE MOBILE FONT SIZE $wp_customize->add_setting('blogband_showcase_mob_title_font_size_settings', array( 'default' => __('43px', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_mob_title_font_size_control', array( 'label' => __('Showcase Mobile Screen Title Font Size', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_mob_title_font_size_settings', 'type' => 'select', 'choices' => array( '37px' => '37px', '38px' => '38px', '39px' => '39px', '40px' => '40px', '41px' => '41px', '42px' => '42px', '43px' => '43px', '44px' => '44px', ) ))); //SHOWCASE PARAGRAPH TEXT $wp_customize->add_setting('blogband_showcase_para_settings', array( 'default' => __('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_para_control', array( 'label' => __('Enter Paragraph', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_para_settings', 'type' => 'textarea', ))); //SHOWCASE BUTTON ONE LINK $wp_customize->add_setting('blogband_showcase_btn_one_link_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_one_link_control', array( 'label' => __('Enter Button One Link', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_one_link_settings', 'type' => 'text', ))); //SHOWCASE BUTTON TWO LINK $wp_customize->add_setting('blogband_showcase_btn_two_link_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_two_link_control', array( 'label' => __('Enter Button Two Link', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_two_link_settings', 'type' => 'text', ))); //SHOWCASE JUSTIFY SECTION $wp_customize->add_setting('blogband_showcase_justify_section_settings', array( 'default' => __('center', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_justify_section_control', array( 'label' => __('Justify Text', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_justify_section_settings', 'type' => 'radio', 'choices' => array( 'flex-start' => __('Left', 'blogband'), 'center' => __('Center', 'blogband'), 'flex-end' => __('Right', 'blogband'), ) ))); //SHOWCASE ALIGN TEXT $wp_customize->add_setting('blogband_showcase_align_text_settings', array( 'default' => __('center', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_align_text_control', array( 'label' => __('Align Text', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_align_text_settings', 'type' => 'radio', 'choices' => array( 'left' => __('Left', 'blogband'), 'center' => __('Center', 'blogband'), 'right' => __('Right', 'blogband'), ) ))); //SHOWCASE JUSTIFY BUTTONS $wp_customize->add_setting('blogband_showcase_justify_buttons_settings', array( 'default' => __('center', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_justify_buttons_control', array( 'label' => __('Justify Buttons', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_justify_buttons_settings', 'type' => 'radio', 'choices' => array( 'flex-start' => __('Left', 'blogband'), 'center' => __('Center', 'blogband'), 'flex-end' => __('Right', 'blogband'), ) ))); //SHOWCASE BUTTON ONE TEXT $wp_customize->add_setting('blogband_showcase_btn_one_text_settings', array( 'default' => __('More', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_one_text_control', array( 'label' => __('Enter Button One Text', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_one_text_settings', 'type' => 'text', ))); //SHOWCASE BUTTON TWO TEXT $wp_customize->add_setting('blogband_showcase_btn_two_text_settings', array( 'default' => __('More', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_two_text_control', array( 'label' => __('Enter Button Two Text', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_two_text_settings', 'type' => 'text', ))); //SHOWCASE BUTTON ONE DISPLAY $wp_customize->add_setting('blogband_showcase_btn_one_display_settings', array( 'default' => __('block', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_one_display_control', array( 'label' => __('Show Button One', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_one_display_settings', 'type' => 'select', 'choices' => array( 'block' => 'Yes', 'none' => 'No', ) ))); //SHOWCASE BUTTON ONE COLOR $wp_customize->add_setting('blogband_showcase_btn_one_bg_color_settings', array( 'default' => __('transparent', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_showcase_btn_one_bg_color_control', array( 'label' => __('Button One Background Color', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_one_bg_color_settings', ))); //SHOWCASE BUTTON TWO DISPLAY $wp_customize->add_setting('blogband_showcase_btn_two_display_settings', array( 'default' => __('block', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_showcase_btn_two_display_control', array( 'label' => __('Show Button Two', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_two_display_settings', 'type' => 'select', 'choices' => array( 'block' => 'Yes', 'none' => 'No', ) ))); //SHOWCASE BUTTON TWO COLOR $wp_customize->add_setting('blogband_showcase_btn_two_bg_color_settings', array( 'default' => __('#1ca7ff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_showcase_btn_two_bg_color_control', array( 'label' => __('Button Two Background Color', 'blogband'), 'section' => 'blogband_showcase_section', 'settings' => 'blogband_showcase_btn_two_bg_color_settings', ))); //BEGIN LEFT SIDETEXT IMAGE $wp_customize->add_section('blogband_left_img_sidetext_section', array( 'title' => __('Blogband - Left Image And Text', 'blogband'), 'priority' => 12, 'panel' => 'blogband_theme_option_panel', )); //DISPLAY LEFT SIDETEXT IMAGE $wp_customize->add_setting('blogband_left_img_sidetext_display_settings', array( 'default' => __('No', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_display_control', array( 'label' => __('Display Left Image and Text', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_display_settings', 'type' => 'checkbox', ))); //LEFT IMAGE SECTION BACKGROUND COLOR $wp_customize->add_setting('blogband_left_img_sidetext_section_bg_color_settings', array( 'default' => __('#fff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_left_img_sidetext_section_bg_color_control', array( 'label' => __('Left Image Section Background Color', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_section_bg_color_settings', ))); //LEFT SIDETEXT IMAGE $wp_customize->add_setting('blogband_left_img_sidetext_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_left_img_sidetext_control', array( 'label' => __('Image', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_settings', 'width' => 1000, 'height' => 1000, ))); //LEFT SIDETEXT IMAGE BUTTON ALIGN $wp_customize->add_setting('blogband_left_img_sidetext_btn_align_settings', array( 'default' => __('left', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_btn_align_control', array( 'label' => __('Align Text', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_btn_align_settings', 'type' => 'select', 'choices' => array( 'left' => __('Left', 'blogband'), 'center' => __('Center', 'blogband'), 'right' => __('Right', 'blogband'), ) ))); //LEFT SIDETEXT IMAGE TITLE $wp_customize->add_setting('blogband_left_img_sidetext_title_settings', array( 'default' => __('The Title', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_title_control', array( 'label' => __('Enter Title', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_title_settings', 'type' => 'text', ))); //LEFT IMAGE TITLE COLOR $wp_customize->add_setting('blogband_left_img_sidetext_title_color_settings', array( 'default' => __('#353535', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_left_img_sidetext_title_color_control', array( 'label' => __('Left Image Title Color', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_title_color_settings', ))); //LEFT SIDETEXT IMAGE PARAGRAPH $wp_customize->add_setting('blogband_left_img_sidetext_para_settings', array( 'default' => __('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun aliqua.', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_para_control', array( 'label' => __('Enter Paragraph', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_para_settings', 'type' => 'textarea', ))); //LEFT IMAGE PARAGRAPH COLOR $wp_customize->add_setting('blogband_left_img_sidetext_para_color_settings', array( 'default' => __('#353535', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_left_img_sidetext_para_color_control', array( 'label' => __('Left Image Paragraph Color', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_para_color_settings', ))); //LEFT SIDETEXT IMAGE BUTTON $wp_customize->add_setting('blogband_left_img_sidetext_btn_settings', array( 'default' => __('More', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_btn_control', array( 'label' => __('Enter Button Text', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_btn_settings', 'type' => 'text', ))); //LEFT SIDETEXT IMAGE BUTTON BACKGROUND COLOR $wp_customize->add_setting('blogband_left_img_sidetext_btn_bg_color_settings', array( 'default' => __('#60bc71', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_left_img_sidetext_btn_bg_color_control', array( 'label' => __('Left Sidetext Image Button Background Color', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_btn_bg_color_settings', ))); //LEFT SIDETEXT IMAGE BUTTON DISPLAY $wp_customize->add_setting('blogband_left_img_sidetext_btn_display_settings', array( 'default' => __('inline-block', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_left_img_sidetext_btn_display_control', array( 'label' => __('Show Button', 'blogband'), 'section' => 'blogband_left_img_sidetext_section', 'settings' => 'blogband_left_img_sidetext_btn_display_settings', 'type' => 'select', 'choices' => array( 'inline-block' => 'Yes', 'none' => 'No', ) ))); //BEGIN GALLERY 3 COLUMNS $wp_customize->add_section('blogband_gallery_3_col_section', array( 'title' => __('Blogband - Gallery 3 Columns', 'blogband'), 'priority' => 13, 'panel' => 'blogband_theme_option_panel', )); //DISPLAY GALLERY 3 COLUMNS $wp_customize->add_setting('blogband_gallery_3_col_display_settings', array( 'default' => __('No', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_gallery_3_col_display_control', array( 'label' => __('Display Gallery 3 Columns', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_display_settings', 'type' => 'checkbox', ))); //GALLERY SECTION BACKGROUND COLOR $wp_customize->add_setting('blogband_gallery_3_col_section_bg_color_settings', array( 'default' => __('#fff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_gallery_3_col_section_bg_color_control', array( 'label' => __('Gallery Section Background Color', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_section_bg_color_settings', ))); //GALLERY IMAGE ONE $wp_customize->add_setting('blogband_gallery_3_col_one_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_one_control', array( 'label' => __('Gallery Image One', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_one_settings', 'width' => 1000, 'height' => 1000, ))); //GALLERY IMAGE TWO $wp_customize->add_setting('blogband_gallery_3_col_two_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_two_control', array( 'label' => __('Gallery Image Two', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_two_settings', 'width' => 1000, 'height' => 1000, ))); //GALLERY IMAGE THREE $wp_customize->add_setting('blogband_gallery_3_col_three_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_three_control', array( 'label' => __('Gallery Image Three', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_three_settings', 'width' => 1000, 'height' => 1000, ))); //GALLERY IMAGE FOUR $wp_customize->add_setting('blogband_gallery_3_col_four_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_four_control', array( 'label' => __('Gallery Image Four', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_four_settings', 'width' => 1000, 'height' => 1000, ))); //GALLERY IMAGE FIVE $wp_customize->add_setting('blogband_gallery_3_col_five_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_five_control', array( 'label' => __('Gallery Image Five', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_five_settings', 'width' => 1000, 'height' => 1000, ))); //GALLERY IMAGE SIX $wp_customize->add_setting('blogband_gallery_3_col_six_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_gallery_3_col_six_control', array( 'label' => __('Gallery Image Six', 'blogband'), 'section' => 'blogband_gallery_3_col_section', 'settings' => 'blogband_gallery_3_col_six_settings', 'width' => 1000, 'height' => 1000, ))); //BEGIN RIGHT SIDETEXT IMAGE $wp_customize->add_section('blogband_right_img_sidetext_section', array( 'title' => __('Blogband - Right Image And Text', 'blogband'), 'priority' => 13, 'panel' => 'blogband_theme_option_panel', )); //DISPLAY RIGHT SIDETEXT IMAGE $wp_customize->add_setting('blogband_right_img_sidetext_display_settings', array( 'default' => __('No', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_display_control', array( 'label' => __('Display Right Image and Text', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_display_settings', 'type' => 'checkbox', ))); //RIGHT SIDETEXT SECTION BACKGROUND COLOR $wp_customize->add_setting('blogband_right_img_sidetext_section_bg_color_settings', array( 'default' => __('#fff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_right_img_sidetext_section_bg_color_control', array( 'label' => __('Right Sidetext Section Background Color', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_section_bg_color_settings', ))); //RIGHT SIDETEXT IMAGE $wp_customize->add_setting('blogband_right_img_sidetext_settings', array( 'default' => __('#', 'blogband'), 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'blogband_right_img_sidetext_control', array( 'label' => __('Image', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_settings', 'width' => 1000, 'height' => 1000, ))); //RIGHT SIDETEXT IMAGE BUTTON ALIGN $wp_customize->add_setting('blogband_right_img_sidetext_btn_align_settings', array( 'default' => __('left', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_btn_align_control', array( 'label' => __('Align Text', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_btn_align_settings', 'type' => 'select', 'choices' => array( 'left' => __('Left', 'blogband'), 'center' => __('Center', 'blogband'), 'right' => __('Right', 'blogband'), ) ))); //RIGHT SIDETEXT IMAGE TITLE $wp_customize->add_setting('blogband_right_img_sidetext_title_settings', array( 'default' => __('The Title', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_title_control', array( 'label' => __('Enter Title', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_title_settings', 'type' => 'text', ))); //RIGHT SIDETEXT TITLE COLOR $wp_customize->add_setting('blogband_right_img_sidetext_title_color_settings', array( 'default' => __('#353535', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_right_img_sidetext_title_color_control', array( 'label' => __('Right Sidetext Title Color', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_title_color_settings', ))); //RIGHT SIDETEXT IMAGE PARAGRAPH $wp_customize->add_setting('blogband_right_img_sidetext_para_settings', array( 'default' => __('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididun aliqua.', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_para_control', array( 'label' => __('Enter Paragraph', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_para_settings', 'type' => 'textarea', ))); //RIGHT SIDETEXT PARAGRAPH COLOR $wp_customize->add_setting('blogband_right_img_sidetext_para_color_settings', array( 'default' => __('#353535', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_right_img_sidetext_para_color_control', array( 'label' => __('Right Sidetext Paragraph Color', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_para_color_settings', ))); //RIGHT SIDETEXT IMAGE BUTTON $wp_customize->add_setting('blogband_right_img_sidetext_btn_settings', array( 'default' => __('More', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_btn_control', array( 'label' => __('Enter Button Text', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_btn_settings', 'type' => 'text', ))); //RIGHT SIDETEXT IMAGE BUTTON BACKGROUND COLOR $wp_customize->add_setting('blogband_right_img_sidetext_btn_bg_color_settings', array( 'default' => __('#60bc71', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_right_img_sidetext_btn_bg_color_control', array( 'label' => __('Right Sidetext Image Button Background Color', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_btn_bg_color_settings', ))); //RIGHT SIDETEXT IMAGE BUTTON DISPLAY $wp_customize->add_setting('blogband_right_img_sidetext_btn_display_settings', array( 'default' => __('inline-block', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_right_img_sidetext_btn_display_control', array( 'label' => __('Show Button', 'blogband'), 'section' => 'blogband_right_img_sidetext_section', 'settings' => 'blogband_right_img_sidetext_btn_display_settings', 'type' => 'select', 'choices' => array( 'inline-block' => 'Yes', 'none' => 'No', ) ))); //BEGIN HEADING TEXT PARA $wp_customize->add_section('blogband_heading_text_para_section', array( 'title' => __('Blogband - Heading Text', 'blogband'), 'priority' => 13, 'panel' => 'blogband_theme_option_panel', )); //DISPLAY HEADING TEXT PARA $wp_customize->add_setting('blogband_heading_text_para_display_settings', array( 'default' => __('Yes', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_heading_text_para_display_control', array( 'label' => __('Display Heading Text', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_display_settings', 'type' => 'checkbox', ))); //HEADING TEXT PARA BACKGROUND COLOR $wp_customize->add_setting('blogband_heading_text_para_bg_color_settings', array( 'default' => __('#3d7382', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_heading_text_para_bg_color_control', array( 'label' => __('Header Text Background Color', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_bg_color_settings', ))); //HEADING TEXT PARA TITLE COLOR $wp_customize->add_setting('blogband_heading_text_para_txt_hd_color_settings', array( 'default' => __('#fff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_heading_text_para_txt_hd_color_control', array( 'label' => __('Header Text Title Color', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_txt_hd_color_settings', ))); //HEADING TEXT PARA FONT TITLE $wp_customize->add_setting('blogband_heading_text_para_txt_font_size_settings', array( 'default' => __('24px', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_heading_text_para_txt_font_size_control', array( 'label' => __('Title Font Size', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_txt_font_size_settings', 'type' => 'select', 'choices' => array( '20px' => '20px', '21px' => '21px', '22px' => '22px', '23px' => '23px', '24px' => '24px', '25px' => '25px', '26px' => '26px', '27px' => '27px', '28px' => '28px', '29px' => '29px', '30px' => '30px', '31px' => '31px', '32px' => '32px', '33px' => '33px', '34px' => '34px', '35px' => '35px', '36px' => '36px', '37px' => '37px', '38px' => '38px', '39px' => '39px', '40px' => '40px', '41px' => '41px', '43px' => '43px', '44px' => '44px', '45px' => '45px', '46px' => '46px', '47px' => '47px', '48px' => '48px', '49px' => '49px', '50px' => '50px', '51px' => '51px', '52px' => '52px', '53px' => '53px', '54px' => '54px', '55px' => '55px', '56px' => '56px', '57px' => '57px', '58px' => '58px', '59px' => '59px', '60px' => '60px', '61px' => '61px', '62px' => '62px', '63px' => '63px', '64px' => '64px', '65px' => '65px', ) ))); //HEADING TEXT PARA FONT TITLE $wp_customize->add_setting('blogband_heading_text_para_txt_mob_font_size_settings', array( 'default' => __('24px', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_heading_text_para_txt_mob_font_size_control', array( 'label' => __('Title Mobile Screen Font Size', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_txt_mob_font_size_settings', 'type' => 'select', 'choices' => array( '20px' => '20px', '21px' => '21px', '22px' => '22px', '23px' => '23px', '24px' => '24px', '25px' => '25px', '26px' => '26px', '27px' => '27px', '28px' => '28px', '29px' => '29px', '30px' => '30px', ) ))); //HEADING TEXT PARA TITLE $wp_customize->add_setting('blogband_heading_text_para_title_settings', array( 'default' => __('Lorem ipsum dolor', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_heading_text_para_title_control', array( 'label' => __('Enter Title', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_title_settings', 'type' => 'text', ))); //HEADING TEXT PARA DESCRIPTION $wp_customize->add_setting('blogband_heading_text_para_desc_settings', array( 'default' => __('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'blogband'), 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'blogband_heading_text_para_desc_control', array( 'label' => __('Enter Description', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_desc_settings', 'type' => 'textarea', ))); //HEADING TEXT PARAGRAPH COLOR $wp_customize->add_setting('blogband_heading_text_para_txt_para_color_settings', array( 'default' => __('#fff', 'blogband'), 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'blogband_heading_text_para_txt_para_color_control', array( 'label' => __('Header Text Paragraph Color', 'blogband'), 'section' => 'blogband_heading_text_para_section', 'settings' => 'blogband_heading_text_para_txt_para_color_settings', ))); //POST MESSAGE $wp_customize->get_setting('blogband_showcase_title_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_para_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_one_link_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_two_link_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_one_text_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_two_text_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_section_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_view_height_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_display_img_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_bg_overlay_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_bg_overlay_zindex_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_bg_overlay_opacity_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_justify_section_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_align_text_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_justify_buttons_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_one_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_one_display_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_two_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_btn_two_display_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_title_font_size_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_showcase_mob_title_font_size_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_title_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_para_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_btn_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_title_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_para_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_section_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_btn_align_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_btn_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_left_img_sidetext_btn_display_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_gallery_3_col_section_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_title_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_para_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_btn_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_section_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_title_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_para_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_btn_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_btn_align_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_right_img_sidetext_btn_display_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_title_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_desc_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_bg_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_txt_font_size_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_txt_mob_font_size_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_txt_hd_color_settings')->transport = 'postMessage'; $wp_customize->get_setting('blogband_heading_text_para_txt_para_color_settings')->transport = 'postMessage'; } //CSS function blogband_custom_css(){ ?>