__('Primary Navigation', 'roots') )); // Add post thumbnails // http://codex.wordpress.org/Post_Thumbnails // http://codex.wordpress.org/Function_Reference/set_post_thumbnail_size // http://codex.wordpress.org/Function_Reference/add_image_size add_theme_support('post-thumbnails'); // Add post formats // http://codex.wordpress.org/Post_Formats add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'video', 'audio')); // Add HTML5 markup for captions // http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5 add_theme_support('html5', array('caption', 'comment-form', 'comment-list')); // Tell the TinyMCE editor to use a custom stylesheet add_editor_style('/assets/dist/css/editor-style.css'); } add_action('after_setup_theme', 'roots_setup'); /** * Register sidebars */ function roots_widgets_init() { register_sidebar(array( 'name' => __('Primary', 'roots'), 'id' => 'sidebar-primary', 'before_widget' => '', 'before_title' => '