"Logo", "type" => "heading" ); $options['logo_uploader'] = array( "name" => "Logo Upload", "desc" => "Upload your logo.", "id" => "logo_uploader", "type" => "upload" ); return $options; } /** * Front End Customizer * * WordPress 3.4 Required */ add_action( 'customize_register', 'options_theme_customizer_register' ); function options_theme_customizer_register($wp_customize) { /** * This is optional, but if you want to reuse some of the defaults * or values you already have built in the options panel, you * can load them into $options for easy reference */ $options = optionsframework_options(); /* Logo upload */ $wp_customize->add_section( 'options_theme_customizer_logo', array( 'title' => __( 'Logo Upload', 'base' ), 'priority' => 110 ) ); $wp_customize->add_setting( 'options_theme_customizer[logo_uploader]', array( 'type' => 'option' ) ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'logo_uploader', array( 'label' => $options['logo_uploader']['name'], 'section' => 'options_theme_customizer_logo', 'settings' => 'options_theme_customizer[logo_uploader]' ) ) ); } /** * Donation option */ add_action('optionsframework_after','base_options_after', 100); function base_options_after() { ?>