WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20733, comment 7


Ignore:
Timestamp:
05/24/12 00:26:43 (2 years ago)
Author:
jeffsebring
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20733, comment 7

    initial v1  
    11You can use the priority arg to set the control order. 
    22 
    3 Start at 50 to clear the default controls. 
     3Here is an example: 
     4 
     5 
     6{{{ 
     7      $wp_customize->add_control( 'customize[header_width]', array( 
     8         'label'           => __( 'Logo Width ( px )', 'render' ), 
     9         'section'         => 'header', 
     10         'type'            => 'text', 
     11         'priority'        => 11, 
     12      ) ); 
     13}}} 
     14