add_section( new ALAGU_WP_Customize_Section( $wp_customize, 'site-sociable-main-section', array( 'title' => esc_html__('Sociable', 'alagu'), 'priority' => 10 ) ) ); /** * Option : Delicious */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-delicious]', array( 'default' => alagu_get_option( 'sociable-delicious' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-delicious]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Delicious', 'alagu' ), 'description' => esc_html__('Put sociable url, wants to show on front-end.', 'alagu'), 'input_attrs' => array( 'placeholder' => esc_html__( 'Delicious', 'alagu' ), ), ) ) ); /** * Option : Deviantart */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-deviantart]', array( 'default' => alagu_get_option( 'sociable-deviantart' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-deviantart]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Deviantart', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Deviantart', 'alagu' ), ), ) ) ); /** * Option : Digg */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-digg]', array( 'default' => alagu_get_option( 'sociable-digg' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-digg]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Digg', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Digg', 'alagu' ), ), ) ) ); /** * Option : Dribbble */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-dribbble]', array( 'default' => alagu_get_option( 'sociable-dribbble' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-dribbble]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Dribbble', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Dribbble', 'alagu' ), ), ) ) ); /** * Option : Envelope */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-envelope]', array( 'default' => alagu_get_option( 'sociable-envelope' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-envelope]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Envelope', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Envelope', 'alagu' ), ), ) ) ); /** * Option : Facebook */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-facebook]', array( 'default' => alagu_get_option( 'sociable-facebook' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-facebook]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Facebook', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Facebook', 'alagu' ), ), ) ) ); /** * Option : Flickr */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-flickr]', array( 'default' => alagu_get_option( 'sociable-flickr' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-flickr]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Flickr', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Flickr', 'alagu' ), ), ) ) ); /** * Option : Google Plus */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-google-plus]', array( 'default' => alagu_get_option( 'sociable-google-plus' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-google-plus]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Google Plus', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Google Plus', 'alagu' ), ), ) ) ); /** * Option : GTalk */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-gtalk]', array( 'default' => alagu_get_option( 'sociable-gtalk' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-gtalk]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'GTalk', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'GTalk', 'alagu' ), ), ) ) ); /** * Option : Instagram */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-instagram]', array( 'default' => alagu_get_option( 'sociable-instagram' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-instagram]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Instagram', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Instagram', 'alagu' ), ), ) ) ); /** * Option : Lastfm */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-lastfm]', array( 'default' => alagu_get_option( 'sociable-lastfm' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-lastfm]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Lastfm', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Lastfm', 'alagu' ), ), ) ) ); /** * Option : Linkedin */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-linkedin]', array( 'default' => alagu_get_option( 'sociable-linkedin' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-linkedin]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Linkedin', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Linkedin', 'alagu' ), ), ) ) ); /** * Option : Pinterest */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-pinterest]', array( 'default' => alagu_get_option( 'sociable-pinterest' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-pinterest]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Pinterest', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Pinterest', 'alagu' ), ), ) ) ); /** * Option : Reddit */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-reddit]', array( 'default' => alagu_get_option( 'sociable-reddit' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-reddit]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Reddit', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Reddit', 'alagu' ), ), ) ) ); /** * Option : RSS */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-rss]', array( 'default' => alagu_get_option( 'sociable-rss' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-rss]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'RSS', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'RSS', 'alagu' ), ), ) ) ); /** * Option : Skype */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-skype]', array( 'default' => alagu_get_option( 'sociable-skype' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-skype]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Skype', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Skype', 'alagu' ), ), ) ) ); /** * Option : Stumbleupon */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-stumbleupon]', array( 'default' => alagu_get_option( 'sociable-stumbleupon' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-stumbleupon]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Stumbleupon', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Stumbleupon', 'alagu' ), ), ) ) ); /** * Option : Tumblr */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-tumblr]', array( 'default' => alagu_get_option( 'sociable-tumblr' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-tumblr]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Tumblr', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Tumblr', 'alagu' ), ), ) ) ); /** * Option : Twitter */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-twitter]', array( 'default' => alagu_get_option( 'sociable-twitter' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-twitter]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Twitter', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Twitter', 'alagu' ), ), ) ) ); /** * Option : Viadeo */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-viadeo]', array( 'default' => alagu_get_option( 'sociable-viadeo' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-viadeo]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Viadeo', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Viadeo', 'alagu' ), ), ) ) ); /** * Option : Vimeo */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-vimeo]', array( 'default' => alagu_get_option( 'sociable-vimeo' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-vimeo]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Vimeo', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Vimeo', 'alagu' ), ), ) ) ); /** * Option : Yahoo */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-yahoo]', array( 'default' => alagu_get_option( 'sociable-yahoo' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-yahoo]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Yahoo', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Yahoo', 'alagu' ), ), ) ) ); /** * Option : Youtube */ $wp_customize->add_setting( ALAGU_THEME_SETTINGS . '[sociable-youtube]', array( 'default' => alagu_get_option( 'sociable-youtube' ), 'type' => 'option', 'sanitize_callback' => array( 'ALAGU_Customizer_Sanitizes', 'sanitize_tweek' ), ) ); $wp_customize->add_control( new ALAGU_Customize_Control( $wp_customize, ALAGU_THEME_SETTINGS . '[sociable-youtube]', array( 'type' => 'text', 'section' => 'site-sociable-main-section', // 'label' => esc_html__( 'Youtube', 'alagu' ), 'input_attrs' => array( 'placeholder' => esc_html__( 'Youtube', 'alagu' ), ), ) ) );