| Server IP : 63.32.33.223 / Your IP : 172.31.12.34 Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux ip-172-31-10-208.eu-west-1.compute.internal 6.8.0-1044-aws #46~22.04.1-Ubuntu SMP Tue Dec 2 12:52:18 UTC 2025 x86_64 User : kazang ( 1006) PHP Version : 8.2.31 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/kazang/web/kazang.com/public_html/wp-content/themes/underboot/js/ |
Upload File : |
/**
* File customizer.js.
*
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '.site-title a' ).text( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '.site-description' ).text( to );
} );
} );
// Colors.
wp.customize( 'site_title_color', function( value ) {
value.bind( function( to ) {
$( '.navbar-dark .navbar-brand, .navbar-dark .navbar-brand:hover' ).css( {
'color': to
} );
} );
} );
wp.customize( 'menu_bar_bgcolor', function( value ) {
value.bind( function( to ) {
$( '.navbar.navbar-dark' ).css( {
'background-color': to
} );
} );
} );
wp.customize( 'entry_bgcolor', function( value ) {
value.bind( function( to ) {
$( '.post .card-body' ).css( {
'background-color': to
} );
} );
} );
wp.customize( 'entry_footer_bgcolor', function( value ) {
value.bind( function( to ) {
$( '.post .card-footer' ).css( {
'background-color': to
} );
} );
} );
wp.customize( 'menu_color', function( value ) {
value.bind( function( to ) {
$( '.navbar-dark .navbar-nav .nav-link' ).css( {
'color': to
} );
} );
} );
wp.customize( 'main_color', function( value ) {
value.bind( function( to ) {
$( 'body' ).css( {
'color': to
} );
} );
} );
wp.customize( 'link_color', function( value ) {
value.bind( function( to ) {
$( 'a' ).css( {
'color': to
} );
} );
} );
wp.customize( 'title_color', function( value ) {
value.bind( function( to ) {
$( '.entry-title, .entry-title a, .page-title' ).css( {
'color': to
} );
} );
} );
wp.customize( 'wgt_title_color', function( value ) {
value.bind( function( to ) {
$( '.widget-title' ).css( {
'color': to
} );
} );
} );
wp.customize( 'meta_color', function( value ) {
value.bind( function( to ) {
$( '.entry-meta, .entry-footer' ).css( {
'color': to
} );
} );
} );
wp.customize( 'link_color', function( value ) {
value.bind( function( to ) {
$( 'a' ).css( {
'color': to
} );
} );
} );
wp.customize( 'meta_color', function( value ) {
value.bind( function( to ) {
$( '.entry-footer, .entry-meta' ).css( {
'color': to
} );
} );
} );
wp.customize( 'primary_btn_color', function( value ) {
value.bind( function( to ) {
$( '.btn-primary' ).css( {
'background-color': to
} );
} );
} );
wp.customize( 'footer_bgcolor', function( value ) {
value.bind( function( to ) {
$( '.site-footer' ).css( {
'background-color': to
} );
} );
} );
wp.customize( 'footer_color', function( value ) {
value.bind( function( to ) {
$( '.site-footer, .site-footer a' ).css( {
'color': to
} );
} );
} );
// END
} )( jQuery );