Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAshu Mehra
688 PointsIs wpt_logo is a default value ?
When I change the wpt_logo to wptLogo the uploader not working why ?
$wp_customize->add_setting(
'wptLogo',
array(
'default' => get_template_directory_uri() . '/images/logo.png',
//'transport' => 'postMessage'
)
);
$wp_customize->add_control(
new WP_Customize_Image_Control(
$wp_customize,
'custom_logo',
array(
'label' => __( 'Change Logo', 'wptthemecustomizer' ),
'section' => 'customLogo',
'settings' => 'wptLogo',
'context' => 'wpt-custom-logo'
)
)
);