Initial commit
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
( function( $, api ) {
|
||||
api.controlConstructor['gp-copyright'] = api.Control.extend( {
|
||||
ready: function() {
|
||||
var control = this;
|
||||
$( '.gp-copyright-area', control.container ).on( 'change keyup',
|
||||
function() {
|
||||
control.setting.set( $( this ).val() );
|
||||
}
|
||||
);
|
||||
}
|
||||
} );
|
||||
} )( jQuery, wp.customize );
|
Reference in New Issue
Block a user