Created
March 14, 2016 13:49
-
-
Save shanutthankachan/c2975a7a17df24705e99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function alts_customize_register( $wp_customize ) { | |
$wp_customize->add_setting( 'alts_logo' ); // Add setting for logo uploader | |
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'alts_logo', array( | |
'label' => __( 'Upload Logo (replaces text)', 'alts' ), | |
'section' => 'title_tagline', | |
'settings' => 'alts_logo', | |
) ) ); | |
} | |
add_action( 'customize_register', 'alts_customize_register' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment