Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #83 from szk11001/master
Remove color options in customizer
  • Loading branch information
amb00010 committed Dec 22, 2014
2 parents 6f434e3 + 5e303d1 commit d37f407
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions inc/customizer.php
Expand Up @@ -13,7 +13,6 @@
function cs_customize_register( $wp_customize ) {
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
}
add_action( 'customize_register', 'cs_customize_register' );

Expand Down Expand Up @@ -70,32 +69,6 @@ function huskypress_parentSite_register( $wp_customize )
'section' => 'title_tagline'
)
);




$wp_customize->add_setting( 'headingColor', //Give it a SERIALIZED name (so all theme settings can live under one db record)
array(
'default' => 'blue', //Default setting/value to save
'type' => 'theme_mod', //Is this an 'option' or a 'theme_mod'?
'capability' => 'edit_theme_options', //Optional. Special permissions for accessing this setting.
'transport' => 'refresh'
)
);
$wp_customize->add_control('headingColor', array(
'type' => 'radio',
'label' => 'Site Title Color',
'section' => 'colors',
'choices' => array(
'blue'=>'Blue',
'black' => 'Black',
'darkgrey' => 'Dark Grey',
'lightgrey' => 'Light Grey',
'white' => 'White'
)
)
);


}
add_action( 'customize_register', 'huskypress_parentSite_register' );
Expand Down

0 comments on commit d37f407

Please sign in to comment.