add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-header-typo-title]', array( 'type' => 'ast-divider', 'section' => 'section-header-typo', 'priority' => 5, 'label' => __( 'Site Title', 'astra' ), 'settings' => array(), ) ) ); /** * Option: Site Title Font Size */ $wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-site-title]', array( 'default' => $defaults['font-size-site-title'], 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_number_n_blank' ), ) ); $wp_customize->add_control( new Ast_Control_Dimension( $wp_customize, AST_THEME_SETTINGS . '[font-size-site-title]', array( 'type' => 'ast-dimension', 'section' => 'section-header-typo', 'priority' => 10, 'label' => __( 'Font Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), ) ) ); /** * Divider */ $wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-header-typo-tagline]', array( 'type' => 'ast-divider', 'section' => 'section-header-typo', 'priority' => 15, 'label' => __( 'Site Tagline', 'astra' ), 'settings' => array(), ) ) ); /** * Option: Site Tagline Font Size */ $wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-site-tagline]', array( 'default' => $defaults['font-size-site-tagline'], 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_number_n_blank' ), ) ); $wp_customize->add_control( new Ast_Control_Dimension( $wp_customize, AST_THEME_SETTINGS . '[font-size-site-tagline]', array( 'type' => 'ast-dimension', 'section' => 'section-header-typo', 'priority' => 20, 'label' => __( 'Font Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), ) ) );