ヘッダー下ウィジェットの追加
/* ヘッダー下ウィジェットのスタイル */
.widget-bottom-header {
text-align: center;
}
<?php
include(TEMPLATEPATH . '/header.php');
dynamic_sidebar('widget-bottom-header');
?>
///////////////////////////////////////
// ヘッダー下ウィジェットの追加
///////////////////////////////////////
register_sidebars(1,
array(
'name'=>'ヘッダー下',
'id' => 'widget-bottom-header',
'description' => 'ヘッダー下に表示されるウイジェット。',
'before_widget' => '<div id="%1$s" class="widget-bottom-header %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-bottom-header-title">',
'after_title' => '</div>',
));