Created
April 10, 2014 17:46
-
-
Save pagelab/10406104 to your computer and use it in GitHub Desktop.
Changing WordPress Theme Customizer default options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; | |
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; | |
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; | |
$wp_customize->get_control( 'background_color' )->section = 'background_image'; | |
$wp_customize->get_section( 'background_image' )->title = 'Background Settings'; | |
$wp_customize->get_section( 'title_tagline' )->title = 'Site Title / Logo'; | |
$wp_customize->get_section( 'static_front_page' )->title = 'Home Page Settings'; | |
$wp_customize->get_section( 'static_front_page' )->priority = 29; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment