Browse files

Change select to checkbox

  • Loading branch information...
1 parent b341734 commit 474b5d2fa01b4abde8cdb933e8bfaed279829463 @bueltge committed Mar 6, 2013
Showing with 3 additions and 5 deletions.
  1. +3 −5 inc/theme-customize.php
View
8 inc/theme-customize.php
@@ -130,11 +130,9 @@ public function customize_register( $wp_customize ) {
'label' => __( 'Display Description', 'documentation' ),
'section' => 'title_tagline',
'settings' => $this->option_key . '[echo_desc]',
- 'type' => 'select',
- 'choices' => array(
- '0' => __( 'False', 'documentation' ),
- '1' => __( 'True', 'documentation' )
- ),
+ 'std' => '1',
+ 'type' => 'checkbox',
+
) );
// ===== Layout Section =====

0 comments on commit 474b5d2

Please sign in to comment.