'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' ); } function bicubic_admin_menu() { global $bws_theme_info; if ( empty( $bws_theme_info ) ) { if ( ( function_exists( 'wp_get_theme' ) ) ) { $current_theme = wp_get_theme(); $current_theme_ver = $current_theme->get( 'Version' ); } else { $current_theme_ver = ''; } $bws_theme_info = array( 'id' => '', 'version' => $current_theme_ver, ); } require_once( dirname( __FILE__ ) . '/bws_menu/bws_menu.php' ); add_theme_page( 'BWS Themes', 'BWS Themes', 'edit_theme_options', 'bws_themes', 'bws_add_themes_menu_render' ); } function bicubic_register_sidebar() { /* Right sidebar */ register_sidebar( array( 'name' => 'Sidebar' ) ); } // 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' ); ?>
  • id="li-comment-">
    comment_approved == '0' ) : // show this if comment is not approved ?>
    __( 'Reply', 'bicubic' ), 'max_depth' => $args['max_depth'], 'depth' => $depth ); comment_reply_link( $args ); // edit link link for trackback and pingback looks differently if ( $comment->comment_type == 'pingback' || $comment->comment_type == 'trackback' ) { edit_comment_link( __( '(Edit)', 'bicubic' ), '', '' ); } else { edit_comment_link( __( '(Edit)', 'bicubic' ), ' | ', '' ); } ?>
  • = 2 || $page >= 2 ) { $title = "$title $sep " . sprintf( __( 'Page %s', 'bicubic' ), max( $paged, $page ) ); } if ( $title == '' ) { return 'Untitled'; } else { return $title; } } /*customize title*/ add_filter( 'wp_title', 'bicubic_wp_title', 10, 2 ); /* render title in wp_head*/ function bicubic_render_title() { ?> <?php wp_title( '|', true, 'right' ); ?>