Closed Lootstep closed 5 years ago
It shouldn't matter whether you use value
and to
as names as long as there is consistency. What's your full code snippet?
I see one problem with your code.
Instead of
wp.customize( 'header_textcolor', function( dog ) { value.bind( function( cat ) {
should be
wp.customize( 'header_textcolor', function( dog ) { dog.bind( function( cat ) {
As this is a general question and not a bug with _s
I will close the issue.
If I Change the functions like for example
wp.customize( 'header_textcolor', function( value ) { value.bind( function( to ) {
To something likewp.customize( 'header_textcolor', function( dog ) { value.bind( function( cat ) {
too all the function names in customize.js The code stops working. and I can't find a reason why. Are "to" and "value" are core functions used by all themes and I should always use them, or is there another file/s I need to edit too. sorry new to php and JavaScript