add_section( 'sociallinks', array( 'title' => __('Social Links','belfast'), // The title of section 'description' => __('Add Your Social Links Here.','belfast'), // The description of section 'priority' => '900', ) ); $wp_customize->add_setting( 'belfast_facebooklink', array('default' => '','sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_facebooklink', array('label' => __('Facebook URL','belfast'), 'section' => 'sociallinks', ) ); $wp_customize->add_setting( 'belfast_twitterlink', array('default' => '','sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_twitterlink', array('label' => __('Twitter Handle','belfast'), 'section' => 'sociallinks', ) ); $wp_customize->add_setting( 'belfast_googlelink', array('default' => '', 'sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_googlelink', array('label' => __('Google Plus URL','belfast'),'section' => 'sociallinks',) ); $wp_customize->add_setting( 'belfast_pinterestlink', array('default' => '', 'sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_pinterestlink', array('label' => __('Pinterest URL','belfast'),'section' => 'sociallinks',) ); $wp_customize->add_setting( 'belfast_youtubelink', array('default' => '', 'sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_youtubelink', array('label' => __('Youtube URL','belfast'),'section' => 'sociallinks',) ); $wp_customize->add_setting( 'belfast_stumblelink', array('default' => '', 'sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_stumblelink', array('label' => __('Stumbleupon Link','belfast'),'section' => 'sociallinks', ) ); $wp_customize->add_setting( 'belfast_rsslink', array('default' => '', 'sanitize_callback' => 'esc_url_raw') ); $wp_customize->add_control( 'belfast_rsslink', array('label' => __('RSS Feeds URL','belfast'),'section' => 'sociallinks',) ); // Social Links Ends function belfast_sanitize_footer_text( $input ) { return sanitize_text_field( $input );} } // Footer Copyright Section Ends // This will output the custom WordPress settings to the live theme's WP head. */ function belfast_header_output() { $sidebar_pos = get_theme_mod('sidebar_position_option'); $bgcolor = get_theme_mod('bg_color'); $primarycolor = get_theme_mod('primary_color'); $secondarycolor = get_theme_mod('secondary_color'); $tertiarycolor = get_theme_mod('tertiary_color'); ?>