| Server IP : 212.183.175.188 / Your IP : 216.73.217.122 Web Server : Apache System : Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 User : cvevolpi ( 10022) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/cvevolpi.it/httpdocs/wp-content/themes/twentyfourteen/js/ |
Upload File : |
/**
* Twenty Fourteen Customizer enhancements for a better user experience.
*
* Contains handlers to make 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 );
} );
} );
// Header text color.
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
if ( 'blank' === to ) {
$( '.site-title, .site-description' ).css( {
'clip-path': 'inset(50%)',
'position': 'absolute'
} );
} else {
$( '.site-title, .site-description' ).css( {
'clip-path': 'none',
'position': 'static'
} );
$( '.site-title a' ).css( {
'color': to
} );
}
} );
} );
} )( jQuery );