Pirate Rogue, Pirate Crew and GitHub Updater

This commit is contained in:
Jan
2019-06-15 16:55:09 +02:00
committed by JanRei
commit 6fb8ec3762
339 changed files with 106604 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/*
* Settings for Customizer Preview. Only used in Backend.
*/
( function( $ ) {
wp.customize( 'pirate_rogue_footer_background_color', function( value ) {
$("body[class^='footer-bgcol-']").removeClass( function() {
return (this.className.match(/\b(footer-col-[a-z]+)\b/g) || []).join(' ');
})
value.bind( function( newval ) {
$( 'body' ).addClass( "footer-bgcol-"+newval );
} );
} );
} )( jQuery );