label ); ?>

get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->remove_control('header_textcolor'); $wp_customize->remove_control('display_header_text'); $wp_customize->add_section( 'logo_sec', array( 'title' => __('Logo (PRO Version)', 'kraft-lite'), 'priority' => 1, 'description' => sprintf( __( 'Logo Settings available in
%s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), ) ); $wp_customize->add_setting('kraftlite_options[logo-info]',array( 'type' => 'info_control', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new kraftlite_Info( $wp_customize, 'logo_section', array( 'section' => 'logo_sec', 'settings' => 'kraftlite_options[logo-info]', 'priority' => null ) ) ); $wp_customize->add_setting('color_scheme',array( 'default' => '#34c6f6', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize,'color_scheme',array( 'label' => __('Color Scheme','kraft-lite'), 'description' => sprintf( __( 'More color options in
%s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), 'section' => 'colors', 'settings' => 'color_scheme' )) ); $wp_customize->add_section('header_details',array( 'title' => __('Header Info','kraft-lite'), 'description' => __('header phone number and time table','kraft-lite'), 'priority' => null )); $wp_customize->add_setting('header_info',array( 'default' => __(' +11 123 456 7890 Mon. - Fri. 10:00 - 21:00','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'header_info', array( 'label' => __('Add phone number','kraft-lite'), 'setting' => 'header_info', 'section' => 'header_details' ) ) ); $wp_customize->add_section('fist_section_content', array( 'title' => __('Homepage First Section','kraft-lite'), 'description' => __('','kraft-lite'), 'priority' => null )); $wp_customize->add_setting('first_section', array( 'default' => __('


Hey people! We are SKT and let us introduce our new Theme - "Kraft"

Nunc sed lorem pretium, volutpat tortor id, adipiscing sem. Sed bibendum quis augue nec porta. Ut molestie tortor pulvinar, faucibus justo vitae

','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'first_section', array( 'label' => __('first section content','kraft-lite'), 'setting' => 'first_section', 'section' => 'fist_section_content' ) ) ); $wp_customize->add_section('home_boxes', array( 'title' => __('Homepage Boxes','kraft-lite'), 'description' => sprintf( __( 'More social icons can be found
%s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_FONT_AWESOME_URL.'"' ), __( 'Social Icons', 'kraft-lite' ) ) ), 'priority' => null )); $wp_customize->add_setting('column_one', array( 'default' => __('

Cool Animated Columns Animated Columns

Lorem ipsum dolor sit amet, consectetur adipiscinr sed gravida tortor, sed ullamcorper tellus. Cras id magna tempor, porta nunc quis.Read More >

','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'column_one', array( 'label' => __('First column content','kraft-lite'), 'setting' => 'column_one', 'section' => 'home_boxes' ) ) ); $wp_customize->add_setting('column_two', array( 'default' => __('

Rich Customization Abilities Color Change

Lorem ipsum dolor sit amet, consectetur adipiscinr sed gravida tortor, sed ullamcorper tellus. Cras id magna tempor, porta nunc quis.Read More >

','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'column_two', array( 'label' => __('Second column content','kraft-lite'), 'setting' => 'column_two', 'section' => 'home_boxes' ) ) ); $wp_customize->add_setting('column_three',array( 'default' => __('

Gallery Plugin Compatibility Nextgen Gallery

Lorem ipsum dolor sit amet, consectetur adipiscinr sed gravida tortor, sed ullamcorper tellus. Cras id magna tempor, porta nunc quis.Read More >

','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'column_three', array( 'label' => __('Third column content','kraft-lite'), 'setting' => 'column_three', 'section' => 'home_boxes' ) ) ); $wp_customize->add_section('slider_section',array( 'title' => __('Slider Settings','kraft-lite'), 'description' => sprintf( __( 'Featured Image Size (1420x591)
More slider settings available in %s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), 'priority' => null )); // Slider Section $wp_customize->add_setting('page-setting1',array( 'sanitize_callback' => 'kraftlite_sanitize_integer' )); $wp_customize->add_control('page-setting1',array( 'type' => 'dropdown-pages', 'label' => __('Select page for slide one:','kraft-lite'), 'section' => 'slider_section' )); $wp_customize->add_setting('page-setting2',array( 'sanitize_callback' => 'kraftlite_sanitize_integer' )); $wp_customize->add_control('page-setting2',array( 'type' => 'dropdown-pages', 'label' => __('Select page for slide two:','kraft-lite'), 'section' => 'slider_section' )); $wp_customize->add_setting('page-setting3',array( 'sanitize_callback' => 'kraftlite_sanitize_integer' )); $wp_customize->add_control('page-setting3',array( 'type' => 'dropdown-pages', 'label' => __('Select page for slide three:','kraft-lite'), 'section' => 'slider_section' )); // Slider Section $wp_customize->add_section('social_sec',array( 'title' => __('Social Settings','kraft-lite'), 'description' => sprintf( __( 'Add social icons link here.
More icon available in %s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), 'priority' => null )); $wp_customize->add_setting('fb_link',array( 'default' => '#facebook', 'sanitize_callback' => 'esc_url_raw' )); $wp_customize->add_control('fb_link',array( 'label' => __('Add facebook link here','kraft-lite'), 'section' => 'social_sec', 'setting' => 'fb_link' )); $wp_customize->add_setting('twitt_link',array( 'default' => '#twitter', 'sanitize_callback' => 'esc_url_raw' )); $wp_customize->add_control('twitt_link',array( 'label' => __('Add twitter link here','kraft-lite'), 'section' => 'social_sec', 'setting' => 'twitt_link' )); $wp_customize->add_setting('gplus_link',array( 'default' => '#gplus', 'sanitize_callback' => 'esc_url_raw' )); $wp_customize->add_control('gplus_link',array( 'label' => __('Add google plus link here','kraft-lite'), 'section' => 'social_sec', 'setting' => 'gplus_link' )); $wp_customize->add_setting('linked_link',array( 'default' => '#linkedin', 'sanitize_callback' => 'esc_url_raw' )); $wp_customize->add_control('linked_link',array( 'label' => __('Add linkedin link here','kraft-lite'), 'section' => 'social_sec', 'setting' => 'linked_link' )); $wp_customize->add_section('footer_text',array( 'title' => __('Footer Area','kraft-lite'), 'priority' => null, 'description' => __('Add footer copyright text','kraft-lite') )); $wp_customize->add_setting('kraftlite_options[credit-info]', array( 'type' => 'info_control', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new kraftlite_Info( $wp_customize, 'cred_section', array( 'label' => __('To remove credit & copyright text upgrade to PRO version','kraft-lite'), 'section' => 'footer_text', 'settings' => 'kraftlite_options[credit-info]' ) ) ); $wp_customize->add_setting('about_title',array( 'default' => __('About kraft','kraft-lite'), 'sanitize_callback' => 'sanitize_text_field' )); $wp_customize->add_control('about_title',array( 'label' => __('Add about title here','kraft-lite'), 'section' => 'footer_text', 'setting' => 'about_title' )); $wp_customize->add_setting('about_description', array( 'default' => __('

Nam aliquet aliquam ipsum eget volutpat. Duis nec porta purus. Integer adipiscing augue sit amet libero vulputate, et fermentum nibh rutrum. In bibendum nisi sed consequat hendrerit. Aliquam.

Quisque elementum, dolor nec tempus eleifend, nibh mauris aliquet ante, eu tempus sapien nisi non nunc. Nulla facilisi. Suspendisse lobortis laoreet risus, a posuere mauris facilisis at. In viverra euismod velit non cursus.

','kraft-lite'), 'sanitize_callback' => 'wptexturize' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'about_description', array( 'label' => __('Add about description for footer','kraft-lite'), 'section' => 'footer_text', 'setting' => 'about_description' ) ) ); $wp_customize->add_setting('footer_right',array( 'default' => __('
  • Home
  • About Us
  • Portfolio
  • Contact Us
  • ','kraft-lite'), 'sanitize_callback' => 'wp_htmledit_pre' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize,'footer_right', array( 'label' => __('Footer Menu','kraft-lite'), 'section' => 'footer_text', 'setting' => 'footer_right' ) ) ); $wp_customize->add_section('contact_sec',array( 'title' => __('Contact Details','kraft-lite'), 'description' => __('Add you contact details here','kraft-lite'), 'priority' => null )); $wp_customize->add_setting('contact_add',array( 'default' => __('100 King St, Melbourne PIC 4000, Australia','kraft-lite'), 'sanitize_callback' => 'wp_htmledit_pre' )); $wp_customize->add_control( new WP_Customize_Textarea_Control( $wp_customize, 'contact_add', array( 'label' => __('Add contact address here','kraft-lite'), 'section' => 'contact_sec', 'setting' => 'contact_add' ) ) ); $wp_customize->add_setting('contact_no',array( 'default' => __('Phone: +123 456 7890','kraft-lite'), 'sanitize_callback' => 'sanitize_text_field' )); $wp_customize->add_control('contact_no',array( 'label' => __('Add contact number here.','kraft-lite'), 'section' => 'contact_sec', 'setting' => 'contact_no' )); $wp_customize->add_setting('contact_mail',array( 'default' => 'contact@company.com', 'sanitize_callback' => 'sanitize_email' )); $wp_customize->add_control('contact_mail',array( 'label' => __('Add you email here','kraft-lite'), 'section' => 'contact_sec', 'setting' => 'contact_mail' )); $wp_customize->add_section( 'theme_layout_sec', array( 'title' => __('Layout Settings (PRO Version)', 'kraft-lite'), 'priority' => null, 'description' => sprintf( __( 'Layout Settings available in
    %s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), ) ); $wp_customize->add_setting('kraftlite_options[layout-info]', array( 'type' => 'info_control', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new kraftlite_Info( $wp_customize, 'layout_section', array( 'section' => 'theme_layout_sec', 'settings' => 'kraftlite_options[layout-info]', 'priority' => null ) ) ); $wp_customize->add_section( 'theme_font_sec', array( 'title' => __('Fonts Settings (PRO Version)', 'kraft-lite'), 'priority' => null, 'description' => sprintf( __( 'Font Settings available in %s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_PRO_THEME_URL.'"' ), __( 'PRO Version', 'kraft-lite' ) ) ), ) ); $wp_customize->add_setting('kraftlite_options[font-info]', array( 'type' => 'info_control', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new kraftlite_Info( $wp_customize, 'font_section', array( 'section' => 'theme_font_sec', 'settings' => 'kraftlite_options[font-info]', 'priority' => null ) ) ); $wp_customize->add_section( 'theme_doc_sec', array( 'title' => __('Documentation & Support', 'kraft-lite'), 'priority' => null, 'description' => sprintf( __( 'For documentation and support check this link %s.', 'kraft-lite' ), sprintf( '%2$s', esc_url( '"'.SKT_THEME_DOC.'"' ), __( 'kraft Documentation', 'kraft-lite' ) ) ), ) ); $wp_customize->add_setting('kraftlite_options[info]', array( 'type' => 'info_control', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( new kraftlite_Info( $wp_customize, 'doc_section', array( 'section' => 'theme_doc_sec', 'settings' => 'kraftlite_options[info]', 'priority' => 10 ) ) ); } add_action( 'customize_register', 'kraftlite_customize_register' ); //Integer function kraftlite_sanitize_integer( $input ) { if( is_numeric( $input ) ) { return intval( $input ); } } function kraftlite_custom_css(){ ?>