add_section('gamesquare_colors', array( 'title' => __('Color pattern unikalizatsiya', 'gamesquare'), 'description' => 'Color pattern unikalizatsiya' )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'background-color', array( 'lebel' => __('Edit background Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'background-color', 'description' => 'You can change the background site. body' ) )); $wp_customize->add_setting('background-color', array( 'sanitize_callback' => '__return_false', 'default' => '#fff', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'link-color', array( 'lebel' => __('Edit Link Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'link-color', 'description' => 'Change font color' ) )); $wp_customize->add_setting('link-color', array( 'sanitize_callback' => '__return_false', 'default' => '#4b4b4b', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'href-color', array( 'lebel' => __('Edit Href Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'href-color', 'description' => 'Change the color of links, it will unkolizovat template' ) )); $wp_customize->add_setting('href-color', array( 'sanitize_callback' => '__return_false', 'default' => '4b4b4b', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'avtor-color', array( 'lebel' => __('Edit Avtor Podpis Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'avtor-color', 'description' => 'You can Change the color signature of the author and publication' ) )); $wp_customize->add_setting('avtor-color', array( 'sanitize_callback' => '__return_false', 'default' => '4b4b4b', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'rubrica-color', array( 'lebel' => __('Edit Rubrica Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'rubrica-color', 'description' => 'It allows you to change the background column' ) )); $wp_customize->add_setting('rubrica-color', array( 'sanitize_callback' => '__return_false', 'default' => '4b4b4b', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'hrefka-color', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'hrefka-color', 'description' => 'You can change the color of links, which are located on the main page' ) )); $wp_customize->add_setting('hrefka-color', array( 'sanitize_callback' => '__return_false', 'default' => '5b5b5b', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'post_div-color', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquare_colors', 'setting' => 'post_div-color', 'description' => 'It allows you to change the background color of the post on the main page' ) )); $wp_customize->add_setting('post_div-color', array( 'sanitize_callback' => '__return_false', 'default' => '5b5b5b', )); $wp_customize -> add_section('gamesquare_image', array( 'title' => __('Setting carousel', 'gamesquare'), 'description' => 'Setting carousel' )); $wp_customize->add_setting('scroll', array( 'sanitize_callback' => '__return_false', 'default' => '', )); $wp_customize->add_control( 'scroll', array( 'lebel' => __('Edit Href Gla Color', 'gamesquare'), 'section' => 'gamesquare_image', 'setting' => 'scroll', 'description' => 'Here you can turn off and turn on the carousel', 'type' => 'radio', 'choices' => array( ''=>'on carousel', 'none'=>'off carousel', ) )); $wp_customize->add_setting('karysel_van', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'karysel_van', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquare_image', 'setting' => 'karysel_van', 'description' => '' ) )); $wp_customize->add_setting('karysel_two', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'karysel_two', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquare_image', 'setting' => 'karysel_two', 'description' => 'It allows you to change the background color of the post on the main page' ) )); $wp_customize->add_setting('karysel_three', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'karysel_three', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquare_image', 'setting' => 'karysel_three', 'description' => 'It allows you to change the background color of the post on the main page' ) )); $wp_customize -> add_section('gamesquar_image', array( 'title' => __('Setting template graphics', 'gamesquare'), 'description' => 'Setting template graphics' )); $wp_customize->add_setting('logo_header', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'logo_header', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_image', 'setting' => 'logo_header', 'description' => 'Add a logo to shapbku blog, I recommend to use a large logo' ) )); $wp_customize->add_setting('logo_footer', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'logo_footer', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_image', 'setting' => 'logo_footer', 'description' => 'Adding a logo in the basement of the blog, I recommend to use a large logo' ) )); $wp_customize->add_setting('logo_body', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'logo_body', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_image', 'setting' => 'logo_body', 'description' => 'Instead of the background color, use a graphic. I recommend to use a 100x100 image and less' ) )); $wp_customize -> add_section('gamesquar_control', array( 'title' => __('Text widget', 'gamesquare'), 'description' => 'Text widget', )); $wp_customize->add_setting('vidzhet_odin', array( 'sanitize_callback' => '__return_false', 'default' => 'Give the name of the widget', )); $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'vidzhet_odin', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_odin', 'description' => 'Widget Number One' ) )); $wp_customize->add_setting('vidzhet_open', array( 'sanitize_callback' => '__return_false', 'default' => 'left', )); $wp_customize->add_control( 'vidzhet_open', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_open', 'description' => 'To enable a widget, press the corresponding button', 'type' => 'radio', 'choices' => array( ''=>'on', 'none'=>'off', ) )); $wp_customize->add_setting('vidzhet_dva', array( 'sanitize_callback' => '__return_false', 'default' => 'Give the name of the widget', )); $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'vidzhet_dva', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_dva', 'description' => 'vidzhet open dva' ) )); $wp_customize->add_setting('vidzhet_open_dva', array( 'sanitize_callback' => '__return_false', 'default' => 'left', )); $wp_customize->add_control( 'vidzhet_open_dva', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_open_dva', 'description' => 'To enable a widget, press the corresponding button', 'type' => 'radio', 'choices' => array( ''=>'on', 'none'=>'off', ) )); $wp_customize->add_setting('vidzhet_tri', array( 'sanitize_callback' => '__return_false', 'default' => 'Give the name of the widget', )); $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'vidzhet_tri', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_tri', 'description' => 'The widget number three' ) )); $wp_customize->add_setting('vidzhet_open_tri', array( 'sanitize_callback' => '__return_false', 'default' => 'left', )); $wp_customize->add_control( 'vidzhet_open_tri', array( 'lebel' => __('Edit Href Glavnaa Color', 'gamesquare'), 'section' => 'gamesquar_control', 'setting' => 'vidzhet_open_tri', 'description' => 'To enable a widget, press the corresponding button', 'type' => 'radio', 'choices' => array( ''=>'on', 'none'=>'off', ) )); $wp_customize -> add_section('cool_chips', array( 'title' => __('Cool chips', 'gamesquare'), 'description' => 'You can improve the visualization of the site' )); $wp_customize->add_setting('download_site', array( 'sanitize_callback' => '__return_false', 'default' => 'https://img-fotki.yandex.ru/get/15576/136468307.3e/0_f5e60_f938b2e1_orig.jpg', )); $wp_customize->add_control( 'download_site', array( 'lebel' => __('Edit Href Gla Color', 'gamesquare'), 'section' => 'cool_chips', 'setting' => 'download_site', 'description' => 'It allows you to set the download priloder village. Additional inf at the office site', 'type' => 'radio', 'choices' => array( 'class'=>'on', 'id'=>'off', ) )); } function gamesquare_css_customizer() { ?>