Direct script access denied.' ); } $articled->add_section( 'articled_wdgt_area_options', array( 'title' => __(' Widget Options', 'articled'), 'description' => __(' Widget Customization Area', 'articled'), 'panel' => 'articled_footer_panel', 'capibility' => 'edit_theme_options', 'priority' => 10, ) ); $articled->add_setting( 'articled_visibility_footer_widgets', array( 'default' => true, 'transport' => 'postMessage', 'sanitize_callback' => 'esc_attr' ) ); $articled->add_control( 'articled_visibility_footer_widgets', array( 'label' => __( 'Footer Widgets', 'articled' ), 'description' => __( 'Unchecked it to hide.', 'articled' ), 'section' => 'articled_wdgt_area_options', 'priority' => 1, 'type'=> 'checkbox', ) ); $articled->add_setting( 'articled_footer_widget_cols', array( 'default' => '4', 'sanitize_callback' => 'esc_attr' ) ); $articled->add_control( new WP_Customize_Control($articled, 'articled_footer_widget_cols_control', array( 'label' => __( 'Widgets Cols', 'articled' ), 'description' => __( 'How Widgets post to be shown', 'articled' ), 'settings' => 'articled_footer_widget_cols', 'section' => 'articled_wdgt_area_options', 'priority' => 1, 'type' => 'select', 'choices' => array( '2' => __( 'Two', 'articled' ), '3' => __( 'Three', 'articled' ), '4' => __( 'Four', 'articled' ), ), ) ) ); $articled->add_setting( 'articled_footer_wdgt_padding', array('default' => '50px 0 50px 0', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_text_field' )); $articled->add_control( 'articled_footer_wdgt_padding_control', array( 'label' => __( 'Widget Padding ', 'articled' ), 'description' => __( 'Clock wise : Top right Bottum Left
e.g 50px 0 50px 0', 'articled'), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_padding', 'type' => 'text', 'priority' => 1, )); $articled->add_setting( 'articled_wdgt_title_heading', array('default' => '#', 'transport' => 'postMessage', )); $articled->add_control( new abu_custom_heading( $articled, 'articled_wdgt_title_heading', array( 'label' => __( 'Widget Title', 'articled' ), 'section' => 'articled_wdgt_area_options', 'priority' => 9, ) ) ); $articled->add_setting( 'articled_footer_wdgt_title_position', array( 'default' => 'left', 'transport' => 'postMessage', 'sanitize_callback' => 'esc_attr' )); $articled->add_control( new WP_Customize_Control($articled, 'articled_footer_wdgt_title_position_control', array( 'label' => __( 'Text Positions', 'articled' ), 'settings' => 'articled_footer_wdgt_title_position', 'section' => 'articled_wdgt_area_options', 'priority' => 9, 'type' => 'select', 'choices' => array( 'left' => __( 'Left', 'articled' ), 'center' => __( 'Center', 'articled' ), 'right' => __( 'Right', 'articled' ), ) ) ) ); //// $articled->add_setting( 'articled_footer_wdgt_title_color', array('default' => '#000', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_title_color_control', array( 'label' => __( 'Widget Title Color ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_title_color', 'priority' => 11, ) )); //// $articled->add_setting( 'articled_footer_wdgt_title_bg_color', array('default' => '#fff', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_title_bg_color_control', array( 'label' => __( 'Widget Title Background Color ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_title_bg_color', 'priority' => 12, ) )); $articled->add_setting( 'articled_footer_wdgt_title_font_size', array('default' => '18px', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_text_field' )); $articled->add_control( 'articled_footer_wdgt_title_font_size_control', array( 'label' => __( 'Widget Title Font Size ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_title_font_size', 'priority' => 10, 'type' => 'select', 'choices' => array( '12px' => '12px','13px' => '13px','14px' => '14px','15px' => '15px', '16px' => '16px','17px' => '17px','18px' => '18px','19px' => '19px', '20px' => '20px','21px' => '21px','22px' => '22px','23px' => '23px', '24px' => '24px','25px' => '25px', ) )); $articled->add_setting( 'articled_footer_wdgt_title_font_padding', array('default' => '10px 0 10px 0', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_text_field' )); $articled->add_control( 'articled_footer_wdgt_title_font_padding_control', array( 'label' => __( 'Widget Title Padding ', 'articled' ), 'description' => __( 'Clock wise : Top right Bottum Left
e.g 10px 0 10px 0', 'articled'), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_title_font_padding', 'type' => 'text', 'priority' => 10, )); $articled->add_setting( 'articled_wdgt_font_heading', array('default' => '#', 'transport' => 'postMessage', )); $articled->add_control( new abu_custom_heading( $articled, 'articled_wdgt_font_heading', array( 'label' => __( 'Widget Area', 'articled' ), 'section' => 'articled_wdgt_area_options', 'priority' => 15, ) ) ); ///// $articled->add_setting( 'articled_footer_wdgt_font_size', array('default' => '16px', 'transport' => 'postMessage', 'sanitize_callback' => 'esc_attr' )); $articled->add_control( 'articled_footer_wdgt_font_size_control', array( 'label' => __( 'Font Size ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_font_size', 'priority' => 15, 'type' => 'select', 'choices' => array( '12px' => '12px', '13px' => '13px', '14px' => '14px', '15px' => '15px', '16px' => '16px', '17px' => '17px', '18px' => '18px', '19px' => '19px', '20px' => '20px', '21px' => '21px', '22px' => '22px', '23px' => '23px', '24px' => '24px', '25px' => '25px', ) )); // $articled->add_setting( 'articled_footer_wdgt_text_padding', // array('default' => '10px 0 10px 0', // 'transport' => 'postMessage', // 'sanitize_callback' => 'sanitize_text_field' // )); // $articled->add_control( // 'articled_footer_wdgt_text_padding_control', array( // 'label' => __( 'Widget Title Padding ', 'articled' ), // 'description' => __( 'Clock wise : Top right Bottum Left
e.g 10px 0 10px 0', 'articled'), // 'section' => 'articled_wdgt_area_options', // 'settings' => 'articled_footer_wdgt_text_padding', // 'type' => 'text', // 'priority' => 15, // )); $articled->add_setting( 'articled_footer_wdgt_font_color', array('default' => '#212529', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_font_color_control', array( 'label' => __( 'Font Color ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_font_color', 'priority' => 15, ) )); $articled->add_setting( 'articled_footer_wdgt_font_bg_color', array('default' => '#fff', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_font_bg_color_control', array( 'label' => __( 'Widget Background Color ', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_font_bg_color', 'priority' => 15, ) )); $articled->add_setting( 'articled_wdgt_link_heading', array('default' => '#', 'transport' => 'postMessage', )); $articled->add_control( new abu_custom_heading( $articled, 'articled_wdgt_link_heading', array( 'label' => __( 'Widget Link', 'articled' ), 'section' => 'articled_wdgt_area_options', 'priority' => 20, ) ) ); $articled->add_setting( 'articled_footer_wdgt_link_color', array('default' => '#fff', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_link_color_control', array( 'label' => __( 'Link Color', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_link_color', 'priority' => 21, ) )); $articled->add_setting( 'articled_footer_wdgt_link_hover_color', array('default' => '#ff6633', 'transport' => 'postMessage', 'sanitize_callback' => 'sanitize_hex_color', )); $articled->add_control( new WP_Customize_Color_Control( $articled, 'articled_footer_wdgt_link_hover_color_control', array( 'label' => __( 'Link Hover Color', 'articled' ), 'section' => 'articled_wdgt_area_options', 'settings' => 'articled_footer_wdgt_link_hover_color', 'priority' => 22, ) )); $articled->add_setting( 'articled_footer_wdgt_link_deco', array( 'default' => 'underline', 'transport' => 'postMessage', 'sanitize_callback' => 'esc_attr' ) ); $articled->add_control( new WP_Customize_Control($articled, 'articled_footer_wdgt_link_deco_control', array( 'label' => __( 'Link decoration', 'articled' ), 'settings' => 'articled_footer_wdgt_link_deco', 'section' => 'articled_wdgt_area_options', 'priority' => 20, 'type' => 'select', 'choices' => array( 'none' => __( 'None', 'articled' ), 'underline' => __( 'Underline', 'articled' ), 'overline' => __( 'Overline', 'articled' ), 'underline overline' => __( 'Underline and Overline', 'articled' ), 'line-through' => __( 'Line Through', 'articled' ), ), ) ) ); ?>