Advertisement
Guest User

Untitled

a guest
Aug 21st, 2012
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. /* Background Color*/
  2.     $wp_customize->add_setting( 'my_framework[body_background][color]', array(
  3.         'default' => $options['body_background']['std']['color'],
  4.         'type' => 'option'
  5.     ) );
  6.    
  7.     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'body_background', array(
  8.         'label'   => 'Background Color',
  9.         'section' => 'my_framework_header',
  10.         'settings'   => 'my_framework[body_background][color]'
  11.     ) ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement