\n"; echo "\t\tvar _gaq=[['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n"; echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n"; echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n"; echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n"; echo "\t\n"; } } function roots_fout_b_gone() { global $roots_options; $roots_fout_b_gone = $roots_options['fout_b_gone']; $template_uri = get_template_directory_uri(); if ($roots_fout_b_gone === true) { echo "\t\n"; echo "\t"; } } function roots_1140_head() { global $roots_options; $roots_css_framework = $roots_options['css_framework']; $template_uri = get_template_directory_uri(); if ($roots_css_framework === '1140') { echo "\t"; } } function roots_adapt_head() { global $roots_options; $roots_css_framework = $roots_options['css_framework']; $template_uri = get_template_directory_uri(); if ($roots_css_framework === 'adapt') { echo "\n\t\n"; echo "\t"; } } function roots_get_stylesheets() { global $roots_options; $roots_css_framework = $roots_options['css_framework']; $styles = ''; switch ($roots_css_framework) { case 'blueprint' : $styles .= stylesheet_link_tag('/blueprint/screen.css'); break; case '960gs_12' : case '960gs_16' : $styles .= stylesheet_link_tag('/960/reset.css'); $styles .= stylesheet_link_tag('/960/text.css', 1); $styles .= stylesheet_link_tag('/960/960.css', 1); break; case '960gs_24' : $styles .= stylesheet_link_tag('/960/reset.css'); $styles .= stylesheet_link_tag('/960/text.css', 1); $styles .= stylesheet_link_tag('/960/960_24_col.css', 1); break; case '1140' : $styles .= stylesheet_link_tag('/1140/1140.css'); break; case 'adapt' : $styles .= stylesheet_link_tag('/adapt/master.css'); $styles .= "\t\n"; break; case 'less' : $styles .= stylesheet_link_tag('/less/less.css'); break; } if (class_exists('RGForms')) { $styles .= "\t\n"; } if (is_child_theme()) { $styles .= stylesheet_link_tag('/style.css', 1); $styles .= "\t\n"; } else { $styles .= stylesheet_link_tag('/style.css', 1); } switch ($roots_css_framework) { case 'blueprint' : $styles .= "\t\n"; break; case '1140' : $styles .= "\t\n"; break; } echo $styles; } function stylesheet_link_tag($file, $tabs = 0, $newline = true) { $indent = str_repeat("\t", $tabs); return $indent . '' . ($newline ? "\n" : ""); } function roots_1140_header_before() { global $roots_options; $roots_css_framework = $roots_options['css_framework']; if ($roots_css_framework === '1140') { echo '