/** * Theme customizer binding File. * * @package Articled * @since Articled 1.0 * */ (function($) { wp.customize('articled_copyright_text', function(value) { value.bind(function(newval) { $('footer #copyright').text(newval) }) }); wp.customize('articled_footer_cparea_padding', function(value) { value.bind(function(newval) { $('footer .copyright-warp').css({ 'padding': newval }) }) }); wp.customize('articled_footer_cparea_font_size', function(value) { value.bind(function(newval) { $('footer #copyright').css({ 'font-size': newval }) }) }); wp.customize('articled_copyright_text_position', function(value) { value.bind(function(newval) { $('footer .copyright-warp ').css({ 'text-align': newval }) }) }); wp.customize('articled_footer_cparea_color', function(value) { value.bind(function(newval) { $('footer #copyright').css({ 'color': newval }) }) }); wp.customize('articled_footer_cparea_container_bg_color', function(value) { value.bind(function(newval) { $('footer .copyright-warp .container').css({ 'background-color': newval }) }) }); wp.customize('articled_footer_cparea_bg_color', function(value) { value.bind(function(newval) { $('footer .copyright-warp').css({ 'background-color': newval }) }) }) })(jQuery)