title: wordpress customizer default settings not working
body: <p>I'm working on my first theme for wordpress and I am running in to some problems.
  I was busy building a customizer page for the theme.
  It went great up until the customizer wouldn't parse the default settings to the css.
  I've tried building the functions file all over again but nothing worked.</p>
  
  <p>Could you guys take a look t the code and tell me if there is anything wrong, or if anyone else had this problem tell me what the solution is.</p>
  
  <p>here is the code of my funtions.php file</p>
  
  <pre><code>&lt;?php
  
  add_theme_support( 'menus' );
  if ( function_exists( 'register_nav_menus' ) ) {
  register_nav_menus(
      array(
      'header-menu' =&gt; 'main'
      )
  );
  }
  add_action( 'init', 'register_my_menus' );
  
  add_theme_support( 'post-thumbnails' );
  
  function claboxico_customize_register( $wp_customize ) {
  
  
  //fonts array
  $googlefonts = array(
          'arial'=&gt;'Arial',
          'verdana'=&gt;'Verdana, Geneva',
          'trebuchet'=&gt;'Trebuchet',
          'trebuchet ms'=&gt;'Trebuchet MS',
          //this list contains way more fonts
        );
  
  //general panel
  $wp_customize-&gt;add_panel( 'colors', array(
  'title' =&gt; __( 'Colors' ),
  'description' =&gt; 'Edit the general styling',
  ) );
  
  //general colors section
  $wp_customize-&gt;add_section('primairy_color', array(
    'title' =&gt; __('Primairy Colors', 'claboxico'),
    'panel' =&gt; 'colors',
    'description' =&gt; 'Edit the primairy color of the theme.'
  ));
  //primairy color setting
  $wp_customize-&gt;add_setting('primairy_color', array(
  'default' =&gt; '#43bfd8',
  ));
  //primairy color control
  $wp_customize-&gt;add_control( new WP_Customize_Color_control( $wp_customize, 'primairy_color', array(
  'label' =&gt; __('Primairy Color', 'claboxico'),
  'section' =&gt; 'primairy_color',
  'setting' =&gt; 'primairy_color',
  ) ));
  
  
  //link kleur
  $wp_customize-&gt;add_section('link_color', array(
  'title' =&gt; __('Link Colors', 'claboxico'),
  'panel' =&gt; 'colors',
  'description' =&gt; 'Edit the color of the links.'
  ));
  $wp_customize-&gt;add_setting('link_color', array(
  'default' =&gt; '#0eb1ed',
  ));
  $wp_customize-&gt;add_control( new WP_Customize_Color_control( $wp_customize, 'link_color', array(
  'label' =&gt; __('Link Color', 'claboxico'),
  'section' =&gt; 'link_color',
  'setting' =&gt; 'link_color',
  ) ));
  
  //plain text color
  $wp_customize-&gt;add_section('paragraph_color', array(
  'title' =&gt; __('Paragraph Colors', 'claboxico'),
  'panel' =&gt; 'colors',
  'description' =&gt; 'Edit the paragraph text color.'
  ));
  $wp_customize-&gt;add_setting('paragraph_color', array(
  'default' =&gt; '#000',
  ));
  $wp_customize-&gt;add_control( new WP_Customize_Color_control( $wp_customize, 'paragraph_color', array(
  'label' =&gt; __('Link Color', 'claboxico'),
  'section' =&gt; 'paragraph_color',
  'setting' =&gt; 'paragraph_color',
  ) ));
  
  
  
  
  //fonts panel
  $wp_customize-&gt;add_panel( 'fonts', array(
    'title' =&gt; __( 'Fonts' ),
    'description' =&gt; 'Edit the fonts',
  ) );
  
    //heading fonts section
    $wp_customize-&gt;add_section('heading_font', array(
      'title' =&gt; __('Heading fonts', 'claboxico'),
      'panel' =&gt; 'fonts',
      'description' =&gt; 'Edit the font for h1, h2 etc.'
    ));
    $wp_customize-&gt;add_setting('heading_font', array(
      'default' =&gt; 'Rokkitt',
    ));
  
    $wp_customize-&gt;add_control( 'heading_font',array(
      'type' =&gt; 'select',
      'label' =&gt; __('Heading font', 'claboxico'),
      'section' =&gt; 'heading_font',
      'setting' =&gt; '',
      'choices' =&gt; $googlefonts,
      )
    );
  
  
  
  }
  
  function claboxico_css_customizer() {
  ?&gt;
  
  &lt;style type="text/css"&gt;
  
    @import url(http://fonts.googleapis.com/css?family=&lt;?php
      $font_sizes = ':300,400,700,900|';
      $heading_google_font = get_theme_mod('heading_font');
      $heading_font = str_replace(' ', '+', $heading_google_font);
      echo $heading_font;
      echo $font_sizes;
  
      $paragraph_google_font = get_theme_mod('paragraph_font');
      $paragraph_font = str_replace(' ', '+', $paragraph_google_font);
      echo $paragraph_font;
      echo $font_sizes;
  
  
     ?&gt;);
    body{font-family: '&lt;?php echo get_theme_mod('paragraph_font'); ?&gt;'; color: &lt;?php echo get_theme_mod('paragraph_color'); ?&gt; }
    /* background color */
    .header{background-color: &lt;?php echo get_theme_mod('header_background_color'); ?&gt; ;}
    /* heading colors and font */
    h1, h2, h3, header .logo{color: &lt;?php echo get_theme_mod('primairy_color', '#43bfd8');?&gt; ; font-family:'&lt;?php    echo get_theme_mod('heading_font');     ?&gt;';}
    /*link colors*/
    a, a:hover{color: &lt;?php echo get_theme_mod('link_color');?&gt;;}
    /* primairy colors */
    header{border-bottom-color: &lt;?php echo get_theme_mod('primairy_color', '#43bfd8');?&gt; ;}
    header .mobile-header-icon, header nav ul li a{color: &lt;?php echo get_theme_mod('primairy_color', '#43bfd8');?&gt; ;}
  
    footer{border-top-color: &lt;?php echo get_theme_mod('primairy_color', '#43bfd8');?&gt; ;}
  
  &lt;/style&gt;
  
  &lt;?php
  }
  add_action('wp_head', 'claboxico_css_customizer');
  add_action( 'customize_register', 'claboxico_customize_register' );
  ?&gt;
  </code></pre>
  
  <p>I hope someone can help me with this problem.</p>