'sidebar1', 'name' => 'Right Sidebar', 'description' => 'The first (primary) sidebar.', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'id' => 'sidebar2', 'name' => 'Left Sidebar', 'description' => 'The left sidebar.', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); /* to add more sidebars or widgetized areas, just copy and edit the above sidebar code. In order to call your new sidebar just use the following code: Just change the name to whatever your new sidebar's id is. */ } // adding sidebars to Wordpress add_action( 'widgets_init', 'boxofboom_register_sidebars' ); // Comment Layout function boxofboom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • >
    ' ); ?> %s', 'box-of-boom'), get_comment_author_link()) ?>
    comment_approved == '0') : ?>

    $depth, 'max_depth' => $args['max_depth']))) ?>
    '; return $form; } add_filter( 'get_search_form', 'boxofboom_search_form' ); function boxofboom_rel_tag( $text ) { $text = str_replace('rel="category tag"', 'rel="tag"', $text); return $text; } add_filter( 'the_category', 'boxofboom_rel_tag' ); function boxofboom_scripts_jquery() { wp_enqueue_script('jquery'); } add_action('wp_enqueue_scripts', 'boxofboom_scripts_jquery'); function boxofboom_scripts_modernizr() { wp_register_script( 'modernizr', get_template_directory_uri() . 'library/js/modernizr-2.0.min.js'); wp_enqueue_script( 'modernizr' ); } add_action('wp_enqueue_scripts', 'boxofboom_scripts_modernizr'); function boxofboom_scripts_custom() { wp_register_script( 'custom-scripts', get_template_directory_uri() . 'library/js/scripts.js'); wp_enqueue_script( 'custom-scripts' ); } add_action('wp_enqueue_scripts', 'boxofboom_scripts_custom'); ?>