Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h1]', array(
'type' => 'ast-divider',
'section' => 'section-content-typo',
'priority' => 4,
'label' => __( 'Heading
', 'astra' ),
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h1]', array(
'default' => $defaults['font-size-h1'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h1]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 5,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );
/**
* Option: Heading Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h2]', array(
'type' => 'ast-divider',
'section' => 'section-content-typo',
'priority' => 9,
'label' => __( 'Heading ', 'astra' ),
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h2]', array(
'default' => $defaults['font-size-h2'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h2]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 10,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );
/**
* Option: Heading Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h3]', array(
'type' => 'ast-divider',
'section' => 'section-content-typo',
'priority' => 14,
'label' => __( 'Heading ', 'astra' ),
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h3]', array(
'default' => $defaults['font-size-h3'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h3]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 15,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );
/**
* Option: Heading Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h4]', array(
'label' => __( 'Heading ', 'astra' ),
'section' => 'section-content-typo',
'type' => 'ast-divider',
'priority' => 19,
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h4]', array(
'default' => $defaults['font-size-h4'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h4]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 20,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );
/**
* Option: Heading Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h5]', array(
'type' => 'ast-divider',
'section' => 'section-content-typo',
'priority' => 24,
'label' => __( 'Heading ', 'astra' ),
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h5]', array(
'default' => $defaults['font-size-h5'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h5]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 25,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );
/**
* Option: Heading Divider
*/
$wp_customize->add_control( new Ast_Control_Divider( $wp_customize, AST_THEME_SETTINGS . '[divider-section-h6]', array(
'label' => __( 'Heading ', 'astra' ),
'section' => 'section-content-typo',
'type' => 'ast-divider',
'priority' => 29,
'settings' => array(),
) ) );
/**
* Option: Heading Font Size
*/
$wp_customize->add_setting( AST_THEME_SETTINGS . '[font-size-h6]', array(
'default' => $defaults['font-size-h6'],
'type' => 'option',
'transport' => 'postMessage',
'sanitize_callback' => array( 'AST_Customizer_Sanitizes', 'sanitize_responsive_typo' ),
) );
$wp_customize->add_control( new Ast_Control_Responsive( $wp_customize, AST_THEME_SETTINGS . '[font-size-h6]', array(
'type' => 'ast-responsive',
'section' => 'section-content-typo',
'priority' => 30,
'label' => __( 'Font Size', 'astra' ),
'input_attrs' => array(
'min' => 0,
),
'units' => array(
'px' => 'px',
'em' => 'em',
),
) ) );