From 5c0686eaec357a7cfdeedeb1027c377c18a8ae73 Mon Sep 17 00:00:00 2001 From: Devin Price Date: Fri, 9 Dec 2011 11:45:26 -0600 Subject: [PATCH] Adding sidebars back in. --- functions.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index 491f0ac..fc0d2cf 100755 --- a/functions.php +++ b/functions.php @@ -82,13 +82,19 @@ function historyfuture_setup() { add_action( 'after_setup_theme', 'historyfuture_setup' ); /** - * Set a default theme color array for WP.com. + * Register widgetized area and update sidebar with default widgets */ -$themecolors = array( - 'bg' => 'ffffff', - 'border' => 'eeeeee', - 'text' => '444444', -); +function toolbox_widgets_init() { + register_sidebar( array( + 'name' => __( 'Sidebar 1', 'historyfuture' ), + 'id' => 'sidebar-1', + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); +} +add_action( 'init', 'toolbox_widgets_init' ); if ( ! function_exists( 'historyfuture_content_nav' ) ): /**