Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $wp_customize->add_setting( 'xgen_body_font_weight_settings', array (
- 'default' => '400',
- 'type' => 'option',
- 'transport' => 'refresh',
- 'sanitize_callback' => 'esc_textarea',
- ) );
- $wp_customize->add_control('xgen_body_font_weight', array(
- 'label' => __( 'Body Font Weight', 'xgen' ),
- 'section' => 'xgen_typo_section',
- 'settings' => 'xgen_body_font_weight_settings',
- 'type' => 'select',
- 'choices' => $fonts_weight,
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement