Skip to content

Commit

Permalink
Adding sidebars back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
devinsays committed Dec 9, 2011
1 parent 417a626 commit 5c0686e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions functions.php
Expand Up @@ -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' ) ):
/**
Expand Down

0 comments on commit 5c0686e

Please sign in to comment.