Permalink
Browse files

Adding sidebars back in.

  • Loading branch information...
1 parent 417a626 commit 5c0686eaec357a7cfdeedeb1027c377c18a8ae73 @devinsays committed Dec 9, 2011
Showing with 12 additions and 6 deletions.
  1. +12 −6 functions.php
View
@@ -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' => '<aside id="%1$s" class="widget %2$s">',
+ 'after_widget' => "</aside>",
+ 'before_title' => '<h1 class="widget-title">',
+ 'after_title' => '</h1>',
+ ) );
+}
+add_action( 'init', 'toolbox_widgets_init' );
if ( ! function_exists( 'historyfuture_content_nav' ) ):
/**

0 comments on commit 5c0686e

Please sign in to comment.