add_section( 'blog_corner_header_options', array( 'panel' => 'blog_corner_theme_options', 'title' => esc_html__( 'Header Options', 'blog-corner' ), ) ); // Topbar Options - Custom Button. $wp_customize->add_setting( 'blog_corner_header_custom_button', array( 'default' => __( 'Subscription', 'blog-corner' ), 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control( 'blog_corner_header_custom_button', array( 'label' => esc_html__( 'Custom Button', 'blog-corner' ), 'section' => 'blog_corner_header_options', 'settings' => 'blog_corner_header_custom_button', 'type' => 'text', ) ); // Topbar Options - Custom Button URL. $wp_customize->add_setting( 'blog_corner_header_custom_button_url', array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', ) ); $wp_customize->add_control( 'blog_corner_header_custom_button_url', array( 'label' => esc_html__( 'Custom Button URL', 'blog-corner' ), 'section' => 'blog_corner_header_options', 'settings' => 'blog_corner_header_custom_button_url', 'type' => 'url', ) );