forked from weblab/cornerstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganizing the cornerstone customizer
- Loading branch information
andrewmbacon
committed
May 29, 2015
1 parent
65a1312
commit 9bba75a
Showing
4 changed files
with
241 additions
and
252 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
$wp_customize->add_setting( 'h1_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'h1_color', array( | ||
'label' => __( 'Header 1 Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'h1_color', | ||
) ) ); | ||
$wp_customize->add_setting( 'h2_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'h2_color', array( | ||
'label' => __( 'Header 2 Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'h2_color', | ||
) ) ); | ||
$wp_customize->add_setting( 'text_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'text_color', array( | ||
'label' => __( 'Text Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'text_color', | ||
) ) ); | ||
$wp_customize->add_setting( 'a_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'a_color', array( | ||
'label' => __( 'Link Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'a_color', | ||
) ) ); | ||
$wp_customize->add_setting( 'ahover_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'ahover_color', array( | ||
'label' => __( 'Link Hover Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'ahover_color', | ||
) ) ); | ||
$wp_customize->add_setting( 'avisited_color' , array( | ||
'default' => 'inherit', | ||
'transport' => 'refresh', | ||
) ); | ||
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'avisited_color', array( | ||
'label' => __( 'Link Visited Color', 'cornerstone' ), | ||
'section' => 'colors', | ||
'settings' => 'avisited_color', | ||
) ) ); | ||
?> |
Oops, something went wrong.