1. functions.php を編集
<?php function my_theme_widgets_init() { register_sidebar( array( 'name' => 'Main Sidebar', 'id' => 'main-sidebar', ) ); } add_action( 'widgets_init', 'my_theme_widgets_init' ); ?>
3. テンプレートで出力
<?php if ( is_active_sidebar('main-sidebar') ) : ?> <?php dynamic_sidebar('main-sidebar'); ?> <?php endif; ?>
必要に応じて、CSSいじる
li.widget_custom_html{ list-style: none; } .widgettitle{ display: none; }