Add support for theme customizer

This commit is contained in:
Ben Word
2015-11-05 20:06:24 -06:00
parent 0e60cbb52c
commit 1607f6e371
5 changed files with 41 additions and 5 deletions

View File

@@ -12,6 +12,11 @@
],
"main": true
},
"customizer.js": {
"files": [
"scripts/customizer.js"
]
},
"jquery.js": {
"bower": ["jquery"]
}

View File

@@ -0,0 +1,8 @@
(function($) {
// Site title
wp.customize('blogname', function(value) {
value.bind(function(to) {
$('.brand').text(to);
});
});
})(jQuery);