title: Having multiple values in Wordpress theme customization dashboard
body: <p><a href="https://i.stack.imgur.com/GNXQf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GNXQf.png" alt="enter image description here"></a></p>
  
  <p>In my theme customization menu, I want to have a section for footer options. Which is number of columns as well as the header titles for each column. What I have so far is the image, and all the options become saved as the same thing. How can I change it so each section is a different value? </p>
  
  <p>My code in functions.php:</p>
  
  <pre><code>/*
  Footer headers and number of columns
  */
  $wp_customize-&gt;add_setting( 'footer_options', array(
    'title' =&gt; __( 'Footer column options', 'Universal Theme'),
    'capability' =&gt; 'edit_theme_options',
    'description' =&gt; __( 'Update footer options')
  ));
  
  $wp_customize-&gt;add_section( 'footer_options', array(
    'title' =&gt; __( 'Footer options', 'Universal Theme' ),
    'capability' =&gt; 'edit_theme_options'
  ));
  
  $wp_customize-&gt;add_control( 'footer_options', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'radio',
    'choices' =&gt; array(
      1 =&gt; __( '1' ),
      2 =&gt; __( '2' ),
      3 =&gt; __( '3' ),
      4 =&gt; __( '4' ),
      5 =&gt; __( '5' ),
      6 =&gt; __( '6' )
    ),
    'label' =&gt; __( 'Number of columns' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header1', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 1' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header2', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 2' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header3', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 3' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header4', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 4' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header5', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 5' )
  ));
  
  $wp_customize-&gt;add_control( 'footer_options_header6', array(
    'settings' =&gt; 'footer_options',
    'section' =&gt; 'footer_options',
    'type' =&gt; 'text',
    'label' =&gt; __( 'Footer header 6' )
  ));
  </code></pre>
  
  <p>All of it is in a function that is placed in an add_action of 'customize_register'</p>
  
  <p>What changes do I need for this to work?</p>