\n";
} elseif ($roots_css_framework === '960gs_12' || $roots_css_framework === '960gs_16') {
$styles .= "\n";
$styles .= "\t\n";
$styles .= "\t\n";
} elseif ($roots_css_framework === '960gs_24') {
$styles .= "\n";
$styles .= "\t\n";
$styles .= "\t\n";
} elseif ($roots_css_framework === '1140') {
$styles .= "\n";
} elseif ($roots_css_framework === 'adapt') {
$styles .= "\n";
$styles .= "\t\n";
}
if (class_exists('RGForms')) {
$styles .= "\t\n";
}
$styles .= "\t\n";
if ($roots_css_framework === 'blueprint') {
$styles .= "\t\n";
} elseif ($roots_css_framework === '1140') {
$styles .= "\t\n";
}
return $styles;
}
// set the maximum 'Large' image width to the maximum grid width
if (!isset($content_width)) {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
switch ($roots_css_framework) {
case 'blueprint': $content_width = 950; break;
case '960gs_12': $content_width = 940; break;
case '960gs_16': $content_width = 940; break;
case '960gs_24': $content_width = 940; break;
case '1140': $content_width = 1140; break;
default: $content_width = 950; break;
}
}
// tell the TinyMCE editor to use editor-style.css
// if you have issues with getting the editor to show your changes then use the following line:
// add_editor_style('editor-style.css?' . time());
add_editor_style('editor-style.css');
add_theme_support('post-thumbnails');
// http://codex.wordpress.org/Post_Formats
// add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat'));
add_theme_support('menus');
register_nav_menus(array(
'primary_navigation' => __('Primary Navigation', 'roots'),
'utility_navigation' => __('Utility Navigation', 'roots')
));
// create widget areas: sidebar, footer
$sidebars = array('Sidebar', 'Footer');
foreach ($sidebars as $sidebar) {
register_sidebar(array('name'=> $sidebar,
'before_widget' => '