public static function ThemeCustomizator($wp_customize)
 {
     require_once PLUGIN_DIR . '/class/GFonts.CustomizeControl.TextArea.php';
     $wp_customize->add_setting('gf_title_font', array('default' => ''));
     $wp_customize->add_setting('gf_title_font_size', array('default' => ''));
     $wp_customize->add_setting('gf_title_font_bold', array('default' => 0));
     $wp_customize->add_setting('gf_title_font_italic', array('default' => 0));
     $wp_customize->add_setting('gf_title_font_underline', array('default' => 0));
     $wp_customize->add_setting('gf_title_font_shadow_vertical', array('default' => ''));
     $wp_customize->add_setting('gf_title_font_shadow_horizontal', array('default' => 0));
     $wp_customize->add_setting('gf_title_font_shadow_blur', array('default' => 0));
     $wp_customize->add_setting('gf_title_font_shadow_color', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font', array('default' => ''));
     $wp_customize->add_setting('gf_title_tagline_font_size', array('default' => ''));
     $wp_customize->add_setting('gf_title_tagline_font_bold', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font_italic', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font_underline', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font_shadow_vertical', array('default' => ''));
     $wp_customize->add_setting('gf_title_tagline_font_shadow_horizontal', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font_shadow_blur', array('default' => 0));
     $wp_customize->add_setting('gf_title_tagline_font_shadow_color', array('default' => '#000'));
     $wp_customize->add_setting('gf_title_tagline_font_color', array('default' => '#000'));
     $locations = get_registered_nav_menus();
     $menu_locations = get_nav_menu_locations();
     foreach ($menu_locations as $menu_location => $id) {
         $wp_customize->add_setting('gf_menu_font_name_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_size_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_bold_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_italic_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_underline_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_color_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_shadow_vertical_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_shadow_horizontal_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_shadow_blur_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_shadow_color_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_name_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_hover_size_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_hover_bold_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_italic_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_underline_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_color_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_shadow_vertical_' . $menu_location, array('default' => ''));
         $wp_customize->add_setting('gf_menu_font_hover_shadow_horizontal_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_shadow_blur_' . $menu_location, array('default' => 0));
         $wp_customize->add_setting('gf_menu_font_hover_shadow_color_' . $menu_location, array('default' => 0));
     }
     ////////////////////////////////////////////////////////////////////////////////////
     $wp_customize->add_setting('gf_post_title_styling_override', array('default' => 0));
     $wp_customize->add_setting('gf_post_title_styling_override_preset_uuid', array('default' => ''));
     /////////////////////////////////////// COMMENT ///////////////////////////////////
     $wp_customize->add_setting('gf_comment_use_facebook', array('default' => 0));
     $wp_customize->add_setting('gf_comment_use_facebook_width', array('default' => 470));
     $wp_customize->add_setting('gf_comment_font_name', array('default' => ''));
     $wp_customize->add_setting('gf_comment_font_size', array('default' => ''));
     $wp_customize->add_setting('gf_comment_font_bold', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_italic', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_underline', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_color', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_shadow_vertical', array('default' => ''));
     $wp_customize->add_setting('gf_comment_font_shadow_horizontal', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_shadow_blur', array('default' => 0));
     $wp_customize->add_setting('gf_comment_font_shadow_color', array('default' => 0));
     $wp_customize->add_setting('gf_comment_textarea_styling', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_radius', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_color', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_text_color', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_box_shadow_h', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_box_shadow_v', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_box_shadow_blur', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_box_shadow_spread', array('default' => 0));
     $wp_customize->add_setting('gf_comment_submit_box_shadow_color', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_box_float', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_box_force_position', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_box_force_position_left', array('default' => ''));
     $wp_customize->add_setting('gf_comment_submit_box_force_position_top', array('default' => ''));
     ///////////////////////////////////////////////////////////////////////////////////
     $wp_customize->get_setting('blogname')->transport = 'refresh';
     $wp_customize->get_setting('blogdescription')->transport = 'refresh';
     $wp_customize->get_setting('header_textcolor')->transport = 'refresh';
     ///////////////////////////////////////////////////////////////////////////////////
     $wp_customize->add_setting('gf_custom_theme_css', array('default' => ''));
     ///////////////////////////////////////////////////////////////////////////////////
     $allFonts = GFontsDB::GetInstalledFonts();
     $choices = array('' => '');
     foreach ($allFonts as $font) {
         $choices[$font->name] = $font->name;
     }
     $stFonts = self::StandardFonts();
     foreach ($stFonts as $font) {
         $choices[$font] = $font;
     }
     $wp_customize->add_control('gf_title_font', array('label' => 'Power Posts Title Font', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $choices, 'priority' => 100));
     $wp_customize->add_control('gf_title_tagline_font', array('label' => 'Power Posts Tagline Font', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $choices, 'priority' => 200));
     $sizesArray = array('' => '');
     for ($s = 8; $s <= 120; $s++) {
         $sizesArray[$s . "px"] = $s . "px";
     }
     $fullSizesArray = array('' => '');
     for ($s = 1; $s <= 120; $s++) {
         $fullSizesArray[$s . "px"] = $s . "px";
     }
     $wp_customize->add_control('gf_title_font_size', array('label' => 'Power Posts Title Font Size', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $sizesArray, 'priority' => 101));
     $wp_customize->add_control('gf_title_font_bold', array('label' => 'Power Posts Title Bold', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 102));
     $wp_customize->add_control('gf_title_font_italic', array('label' => 'Power Posts Title italic', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 103));
     $wp_customize->add_control('gf_title_font_underline', array('label' => 'Power Posts Title Underline', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 104));
     $wp_customize->add_control('gf_title_tagline_font_size', array('label' => 'Power Posts Tagline Font Size', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $sizesArray, 'priority' => 201));
     $wp_customize->add_control('gf_title_tagline_font_bold', array('label' => 'Power Posts Tagline Bold', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 202));
     $wp_customize->add_control('gf_title_tagline_font_italic', array('label' => 'Power Posts Tagline italic', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 203));
     $wp_customize->add_control('gf_title_tagline_font_underline', array('label' => 'Power Posts Tagline Underline', 'section' => 'title_tagline', 'type' => 'checkbox', 'priority' => 204));
     $shadowsVertical = array('' => '');
     for ($v = -1; $v >= -30; $v--) {
         $shadowsVertical[$v] = __("Left", self::PLUGIN_SLUG) . " " . $v;
     }
     for ($v = 1; $v <= 30; $v++) {
         $shadowsVertical[$v] = __("Right", self::PLUGIN_SLUG) . " +" . $v;
     }
     $wp_customize->add_control('gf_title_font_shadow_vertical', array('label' => 'Power Posts Title Font Shadow Vertical', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 105));
     $wp_customize->add_control('gf_title_tagline_font_shadow_vertical', array('label' => 'Power Posts Tagline Font Shadow Vertical', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 205));
     $shadowsHorizontal = array('' => '');
     for ($v = -1; $v >= -30; $v--) {
         $shadowsHorizontal[$v] = __("Over", self::PLUGIN_SLUG) . " " . $v;
     }
     for ($v = 1; $v <= 30; $v++) {
         $shadowsHorizontal[$v] = __("Under", self::PLUGIN_SLUG) . " +" . $v;
     }
     $wp_customize->add_control('gf_title_font_shadow_horizontal', array('label' => 'Power Posts Title Font Shadow Horizontal', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 106));
     $wp_customize->add_control('gf_title_tagline_font_shadow_horizontal', array('label' => 'Power Posts Tagline Font Shadow Horizontal', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 206));
     $shadowsBlur = array();
     $shadowsBlur[0] = __("No blur", self::PLUGIN_SLUG);
     for ($i = 1; $i < 50; $i++) {
         $shadowsBlur[$i] = __("More", self::PLUGIN_SLUG) . " +" . $i;
     }
     $wp_customize->add_control('gf_title_font_shadow_blur', array('label' => 'Power Posts Title Font Shadow Blur', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 107));
     $wp_customize->add_control('gf_title_tagline_font_shadow_blur', array('label' => 'Power Posts Tagline Font Shadow Blur', 'section' => 'title_tagline', 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 207));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_title_tagline_font_color', array('label' => __('Power Posts Tagline color', self::PLUGIN_SLUG), 'section' => 'colors', 'settings' => 'gf_title_tagline_font_color', 'priority' => 100)));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_title_font_shadow_color', array('label' => __('Power Posts Title shadow color', self::PLUGIN_SLUG), 'section' => 'colors', 'settings' => 'gf_title_font_shadow_color', 'default' => '#FFF', 'priority' => 100)));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_title_tagline_font_shadow_color', array('label' => __('Power Posts Tagline shadow color', self::PLUGIN_SLUG), 'section' => 'colors', 'settings' => 'gf_title_tagline_font_shadow_color', 'default' => '#FFF', 'priority' => 200)));
     foreach ($menu_locations as $menu_location => $id) {
         $wp_customize->add_section('gf_menu_font_' . $menu_location, array('title' => __("Power Posts " . $locations[$menu_location] . " Fonts", self::PLUGIN_SLUG), 'priority' => 50));
         $wp_customize->add_control('gf_menu_font_name_' . $menu_location, array('label' => 'Power Posts Item Font', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'select', 'choices' => $choices, 'priority' => 100));
         $wp_customize->add_control('gf_menu_font_size_' . $menu_location, array('label' => 'Power Posts Item Font Size', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'select', 'choices' => $sizesArray, 'priority' => 101));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_menu_font_color_' . $menu_location, array('label' => __('Power Posts Menu Item Color', self::PLUGIN_SLUG), 'section' => 'gf_menu_font_' . $menu_location, 'settings' => 'gf_menu_font_color_' . $menu_location, 'default' => '#FFF', 'priority' => 103)));
         $wp_customize->add_control('gf_menu_font_bold_' . $menu_location, array('label' => 'Power Posts Menu Item Bold', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'checkbox', 'priority' => 104));
         $wp_customize->add_control('gf_menu_font_italic_' . $menu_location, array('label' => 'Power Posts Menu Item italic', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'checkbox', 'priority' => 105));
         $wp_customize->add_control('gf_menu_font_underline_' . $menu_location, array('label' => 'Power Posts Menu Item Underline', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'checkbox', 'priority' => 106));
         $wp_customize->add_control('gf_menu_font_shadow_vertical_' . $menu_location, array('label' => 'Power Posts Title Font Shadow Vertical', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 107));
         $wp_customize->add_control('gf_menu_font_shadow_horizontal_' . $menu_location, array('label' => 'Power Posts Title Font Shadow Horizontal', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 108));
         $wp_customize->add_control('gf_menu_font_shadow_blur_' . $menu_location, array('label' => 'Power Posts Title Font Shadow Blur', 'section' => 'gf_menu_font_' . $menu_location, 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 109));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_menu_font_shadow_color_' . $menu_location, array('label' => __('Power Posts Title shadow color', self::PLUGIN_SLUG), 'section' => 'gf_menu_font_' . $menu_location, 'settings' => 'gf_menu_font_shadow_color_' . $menu_location, 'default' => '#FFF', 'priority' => 110)));
         /////////////////////////////////////////////////////////////////////
         $wp_customize->add_section('gf_menu_font_hover_' . $menu_location, array('title' => __("Power Posts Hover " . $locations[$menu_location] . " Fonts", self::PLUGIN_SLUG), 'priority' => 51));
         $wp_customize->add_control('gf_menu_font_hover_name_' . $menu_location, array('label' => 'Power Posts Hover Item Font', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'select', 'choices' => $choices, 'priority' => 100));
         $wp_customize->add_control('gf_menu_font_hover_size_' . $menu_location, array('label' => 'Power Posts Hover Item Font Size', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'select', 'choices' => $sizesArray, 'priority' => 101));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_menu_font_hover_color_' . $menu_location, array('label' => __('Power Posts Hover Menu Item Color', self::PLUGIN_SLUG), 'section' => 'gf_menu_font_hover_' . $menu_location, 'settings' => 'gf_menu_font_hover_color_' . $menu_location, 'default' => '#FFF', 'priority' => 103)));
         $wp_customize->add_control('gf_menu_font_hover_bold_' . $menu_location, array('label' => 'Power Posts Hover Menu Item Bold', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'checkbox', 'priority' => 104));
         $wp_customize->add_control('gf_menu_font_hover_italic_' . $menu_location, array('label' => 'Power Posts Hover Menu Item italic', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'checkbox', 'priority' => 105));
         $wp_customize->add_control('gf_menu_font_hover_underline_' . $menu_location, array('label' => 'Power Posts Hover Menu Item Underline', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'checkbox', 'priority' => 106));
         $wp_customize->add_control('gf_menu_font_hover_shadow_vertical_' . $menu_location, array('label' => 'Power Posts Hover Title Font Shadow Vertical', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 107));
         $wp_customize->add_control('gf_menu_font_hover_shadow_horizontal_' . $menu_location, array('label' => 'Power Posts Hover Title Font Shadow Horizontal', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 108));
         $wp_customize->add_control('gf_menu_font_hover_shadow_blur_' . $menu_location, array('label' => 'Power Posts Hover Title Font Shadow Blur', 'section' => 'gf_menu_font_hover_' . $menu_location, 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 109));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_menu_font_hover_shadow_color_' . $menu_location, array('label' => __('Power Posts Title shadow color', self::PLUGIN_SLUG), 'section' => 'gf_menu_font_hover_' . $menu_location, 'settings' => 'gf_menu_font_hover_shadow_color_' . $menu_location, 'default' => '#FFF', 'priority' => 110)));
     }
     /////////////////////////////////////////////////////////////////////
     $wp_customize->add_section('gf_post_title_fonts', array('title' => __("Power Posts Post Title Styles", self::PLUGIN_SLUG), 'priority' => 52));
     $wp_customize->add_control('gf_post_title_styling_override', array('label' => 'Override post title styling', 'section' => 'gf_post_title_fonts', 'type' => 'checkbox', 'priority' => 111));
     $presets = GFontsDB::LoadTitlePresets();
     $options = array();
     foreach ($presets as $preset) {
         $options[$preset->uuid] = $preset->name;
     }
     $wp_customize->add_control('gf_post_title_styling_override_preset_uuid', array('label' => 'Preset name', 'section' => 'gf_post_title_fonts', 'type' => 'select', 'choices' => $options, 'priority' => 112));
     ///////////////////////// COMMENTS //////////////////////////////////
     $wp_customize->add_section('gf_comment_font', array('title' => __("Power Posts Comment Box Style", self::PLUGIN_SLUG), 'priority' => 53));
     $wp_customize->add_control('gf_comment_use_facebook', array('label' => 'Power Posts Use Facebook Comments', 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 90));
     $wp_customize->add_control('gf_comment_use_facebook_width', array('label' => 'Power Posts Facebook Comments Width (in px)', 'section' => 'gf_comment_font', 'type' => 'text', 'priority' => 91));
     $wp_customize->add_control('gf_comment_font_name', array('label' => 'Power Posts Comment Fonts', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $choices, 'priority' => 100));
     $wp_customize->add_control('gf_comment_font_size', array('label' => 'Power Posts Comment Font Size', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $sizesArray, 'priority' => 101));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_comment_font_color', array('label' => __('Power Posts Comment Font Color', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'settings' => 'gf_comment_font_color', 'default' => '#FFF', 'priority' => 103)));
     $wp_customize->add_control('gf_comment_font_bold', array('label' => 'Power Posts Comment Font Bold', 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 104));
     $wp_customize->add_control('gf_comment_font_italic', array('label' => 'Power Posts Comment Font italic', 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 105));
     $wp_customize->add_control('gf_comment_font_underline', array('label' => 'Power Posts Comment Font Underline', 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 106));
     $wp_customize->add_control('gf_comment_font_shadow_vertical', array('label' => 'Power Posts Comment Font Shadow Vertical', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 107));
     $wp_customize->add_control('gf_comment_font_shadow_horizontal', array('label' => 'Power Posts Comment  Font Shadow Horizontal', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 108));
     $wp_customize->add_control('gf_comment_font_shadow_blur', array('label' => 'Power Posts Comment Font Shadow Blur', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 109));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_comment_font_shadow_color', array('label' => __('Power Posts Comment shadow color', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'settings' => 'gf_comment_font_shadow_color', 'default' => '#FFF', 'priority' => 110)));
     $wp_customize->add_control('gf_comment_textarea_styling', array('label' => 'Power Posts Text input styling', 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 111));
     $radiuses[0] = __("None", self::PLUGIN_SLUG);
     for ($i = 1; $i <= 50; $i++) {
         $radiuses[$i] = __("More", self::PLUGIN_SLUG) . " +" . $i;
     }
     $wp_customize->add_control('gf_comment_submit_radius', array('label' => 'Power Posts Button rounding corners', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $radiuses, 'priority' => 112));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_comment_submit_color', array('label' => __('Power Posts Button color', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'settings' => 'gf_comment_submit_color', 'default' => '#FFF', 'priority' => 113)));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_comment_submit_text_color', array('label' => __('Power Posts Button text color', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'settings' => 'gf_comment_submit_text_color', 'default' => '#FFF', 'priority' => 113)));
     $wp_customize->add_control('gf_comment_submit_box_shadow_v', array('label' => 'Power Posts Comment Box Shadow Vertical', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 114));
     $wp_customize->add_control('gf_comment_submit_box_shadow_h', array('label' => 'Power Posts Comment Box Shadow Horizontal', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 115));
     $wp_customize->add_control('gf_comment_submit_box_shadow_blur', array('label' => 'Power Posts Comment Box Shadow Blur', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 116));
     $shadowsSpread = array();
     $shadowsSpread[0] = __("No spread", self::PLUGIN_SLUG);
     for ($i = 1; $i < 50; $i++) {
         $shadowsSpread[$i] = __("More", self::PLUGIN_SLUG) . " +" . $i;
     }
     $wp_customize->add_control('gf_comment_submit_box_shadow_spread', array('label' => 'Power Posts Comment Box Shadow Spread', 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $shadowsSpread, 'priority' => 117));
     $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_comment_submit_box_shadow_color', array('label' => __('Power Posts Button shadow color', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'settings' => 'gf_comment_submit_box_shadow_color', 'default' => '#FFF', 'priority' => 118)));
     $floats[''] = __("Default", self::PLUGIN_SLUG);
     $floats['left'] = __("Left", self::PLUGIN_SLUG);
     $floats['right'] = __("Right", self::PLUGIN_SLUG);
     $wp_customize->add_control('gf_comment_submit_box_float', array('label' => __('Power Posts Button align', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'type' => 'select', 'choices' => $floats, 'priority' => 119));
     $wp_customize->add_control('gf_comment_submit_box_force_position', array('label' => __('Power Posts Button force position', self::PLUGIN_SLUG), 'section' => 'gf_comment_font', 'type' => 'checkbox', 'priority' => 120));
     $wp_customize->add_control('gf_comment_submit_box_force_position_left', array('label' => 'Power Posts Button left margin (in px)', 'section' => 'gf_comment_font', 'type' => 'text', 'priority' => 121));
     $wp_customize->add_control('gf_comment_submit_box_force_position_top', array('label' => 'Power Posts Button top margin (in px)', 'section' => 'gf_comment_font', 'type' => 'text', 'priority' => 122));
     /////////////////////////////////////////////////////////////////////
     //////////////////////////// SIDEBARS ///////////////////////////////
     $aligns[''] = __("Default", self::PLUGIN_SLUG);
     $aligns['left'] = __("Left", self::PLUGIN_SLUG);
     $aligns['right'] = __("Right", self::PLUGIN_SLUG);
     $aligns['center'] = __("Center", self::PLUGIN_SLUG);
     global $wp_registered_sidebars;
     $index = 0;
     foreach ($wp_registered_sidebars as $id => $sidebar) {
         $sname = $sidebar['name'];
         if (strpos(strtolower($sname), 'sidebar') === false) {
             $sname .= ' Sidebar';
         }
         $wp_customize->add_section('gf_custom_widget_' . $id, array('title' => 'Power Posts ' . $sname, 'priority' => 200 + $index++));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_name', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_name', array('label' => 'Power Posts Title Font', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $choices, 'priority' => 100));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_size', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_size', array('label' => 'Power Posts Title Font Size', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $sizesArray, 'priority' => 101));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_text_align', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_text_align', array('label' => 'Power Posts Title Text Align', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $aligns, 'priority' => 102));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_text_padding_top', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_text_padding_top', array('label' => 'Power Posts Title Top Padding', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $fullSizesArray, 'priority' => 103));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_text_padding_bottom', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_text_padding_bottom', array('label' => 'Power Posts Title Bottom Padding', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $fullSizesArray, 'priority' => 104));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_font_color', array('label' => __('Power Posts Title Font Color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_font_color', 'default' => '#FFF', 'priority' => 113)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_bold', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_bold', array('label' => 'Power Posts Title Font Bold', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 114));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_italic', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_italic', array('label' => 'Power Posts Title Font Italic', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 115));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_underline', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_underline', array('label' => 'Power Posts Title Font Underline', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 116));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_shadow_vertical', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_shadow_vertical', array('label' => 'Power Posts Title Font Shadow Vertical', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 117));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_shadow_horizontal', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_shadow_horizontal', array('label' => 'Power Posts Title Font Shadow Horizontal', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 118));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_shadow_blur', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_font_shadow_blur', array('label' => 'Power Posts Title Font Shadow Blur', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 119));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_font_shadow_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_font_shadow_color', array('label' => __('Power Posts Title Shadow color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_font_shadow_color', 'default' => '#FFF', 'priority' => 120)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_background_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_background_color', array('label' => __('Power Posts Title Background color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_background_color', 'default' => '#FFF', 'priority' => 121)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_top_left_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_top_left_radius', array('label' => 'Power Posts Title Top Left Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 1221));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_top_right_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_top_right_radius', array('label' => 'Power Posts Title Top Right Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 123));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_bottom_right_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_bottom_right_radius', array('label' => 'Power Posts Title Bottom Right Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 124));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_bottom_left_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_bottom_left_radius', array('label' => 'Power Posts Title Bottom Left Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 125));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_name', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_name', array('label' => 'Power Posts Content Font', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $choices, 'priority' => 200));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_size', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_size', array('label' => 'Power Posts Content Font Size', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $sizesArray, 'priority' => 201));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_text_align', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_text_align', array('label' => 'Power Posts Content Text Align', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $aligns, 'priority' => 202));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_text_left_margin', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_text_left_margin', array('label' => 'Power Posts Content Text Left Margin', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $fullSizesArray, 'priority' => 203));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_text_right_margin', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_text_right_margin', array('label' => 'Power Posts Content Text Right Margin', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $fullSizesArray, 'priority' => 203));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_content_font_color', array('label' => __('Power Posts Content Font Color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_content_font_color', 'default' => '#FFF', 'priority' => 204)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_bold', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_bold', array('label' => 'Power Posts Content Font Bold', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 205));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_italic', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_italic', array('label' => 'Power Posts Content Font Italic', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 206));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_underline', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_underline', array('label' => 'Power Posts Content Font Underline', 'section' => 'gf_custom_widget_' . $id, 'type' => 'checkbox', 'priority' => 207));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_shadow_vertical', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_shadow_vertical', array('label' => 'Power Posts Content Font Shadow Vertical', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsVertical, 'priority' => 208));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_shadow_horizontal', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_shadow_horizontal', array('label' => 'Power Posts Content Font Shadow Horizontal', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsHorizontal, 'priority' => 209));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_shadow_blur', array('default' => ''));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_font_shadow_blur', array('label' => 'Power Posts Content Font Shadow Blur', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $shadowsBlur, 'priority' => 210));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_font_shadow_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_content_font_shadow_color', array('label' => __('Power Posts Content Shadow color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_content_font_shadow_color', 'default' => '#FFF', 'priority' => 211)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_background_color', array('default' => ''));
         $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'gf_custom_widget_' . $id . '_content_background_color', array('label' => __('Power Posts Content Background color', self::PLUGIN_SLUG), 'section' => 'gf_custom_widget_' . $id, 'settings' => 'gf_custom_widget_' . $id . '_content_background_color', 'default' => '#FFF', 'priority' => 212)));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_top_left_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_top_left_radius', array('label' => 'Power Posts Content Top Left Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 213));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_top_right_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_top_right_radius', array('label' => 'Power Posts Content Top Right Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 214));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_bottom_right_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_bottom_right_radius', array('label' => 'Power Posts Content Bottom Right Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 215));
         $wp_customize->add_setting('gf_custom_widget_' . $id . '_content_bottom_left_radius', array('default' => 0));
         $wp_customize->add_control('gf_custom_widget_' . $id . '_content_bottom_left_radius', array('label' => 'Power Posts Content Bottom Left Corner Round', 'section' => 'gf_custom_widget_' . $id, 'type' => 'select', 'choices' => $radiuses, 'priority' => 216));
     }
     /////////////////////////////////////////////////////////////////////
     $wp_customize->add_section('gf_custom_css_section', array('title' => __("Power Posts Custom CSS", self::PLUGIN_SLUG), 'priority' => 300));
     $wp_customize->add_control(new GFonts_Customize_Textarea_Control($wp_customize, 'gf_custom_theme_css', array('label' => 'Extra CSS', 'section' => 'gf_custom_css_section', 'settings' => 'gf_custom_theme_css')));
 }