'Sidebar' ) ); } // load_theme_textdomain() for translation/localization support load_theme_textdomain( 'bicubic', get_template_directory() . '/languages' ); // add post-thumbnails with one size add_theme_support( 'post-thumbnails' ); add_image_size ( 'bicubic-size', 540, 9999 ); // add rss feed add_theme_support( 'automatic-feed-links' ); // add custom backgroung with default color #eeeeee $defaults = array( 'default-color' => 'eeeeee', ); add_theme_support( 'custom-background', $defaults ); // This theme uses wp_nav_menu() in one location. register_nav_menu( 'primary', __( 'Primary Menu', 'bicubic' ) ); //add custom-header support $args = array( 'width' => 940, 'height' => 180, 'uploads' => true, 'header-text' => true, 'default-text-color' => '63ac2e' ); add_theme_support( 'custom-header', $args ); //add editor_style support add_editor_style( get_template_directory_uri() . '/css/editor-style.css' ); } // register scripts and styles function bicubic_scripts_styles() { wp_enqueue_script( 'bicubic-scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery' ) ); wp_enqueue_script( 'bicubic-placeholder', get_template_directory_uri() . '/js/jquery.placeholder.js', array( 'jquery' ) ); // load script for comment-reply if ( is_singular() ) wp_enqueue_script( "comment-reply" ); // loads main stylesheet. wp_enqueue_style( 'bicubic-style', get_stylesheet_uri() ); // loads the internet Explorer specific stylesheet. wp_enqueue_style( 'bicubic-ie', get_template_directory_uri() . '/css/ie.css', array( 'bicubic-style' ) ); wp_style_add_data( 'bicubic-ie', 'conditional', 'lt IE 9' ); ?>