Skip to content
Permalink
396bfd4a62
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (17 sloc) 818 Bytes
<?php
function cs_customize_register( $wp_customize ) {
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
include('customizer-titlebar.php');
include('customizer-nav.php');
include('customizer-homepage-layout.php');
}
add_action( 'customize_register', 'cs_customize_register' );
function cs_customize_preview_js() {
// Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
wp_enqueue_script( 'cs_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
}
add_action( 'customize_preview_init', 'cs_customize_preview_js' );
// hides the non-functional 'display Header text' checkbox.
define( 'NO_HEADER_TEXT', true );
?>