chore(deps): Bump dependencies
revert(assets): Rename js/ back to scripts/ revert(assets): Rename css/ back to styles/
This commit is contained in:
15
resources/scripts/customizer.js
Normal file
15
resources/scripts/customizer.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* This file allows you to add functionality to the Theme Customizer
|
||||
* live preview. jQuery is readily available.
|
||||
*
|
||||
* {@link https://codex.wordpress.org/Theme_Customization_API}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Change the blog name value.
|
||||
*
|
||||
* @param {string} value
|
||||
*/
|
||||
wp.customize('blogname', value => {
|
||||
value.bind(to => $('.brand').text(to));
|
||||
});
|
||||
Reference in New Issue
Block a user