'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; ?>