当ブログのデザインもvicunaさんをベースにさせていただいているんですがvicunaはウィジェット対応していない。
普段は直接テーマを触るので問題はないけれど今回ウィジェット対応にさせたかったのでメモ
修正するファイルはsidebar.phpとfunctions.phpのみ。
sidebar.phpの修正
<dl class="navi">~</dl>内に下記記述
if ( function_exists('dynamic_sidebar') ) dynamic_sidebar();
functions.phpの修正
functions.php内に下記記述 (私は?>の直前に記述しました)
if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => "", 'after_widget' => "\n\t\t</dd>\n", 'before_title' => "\t\t<dt>", 'after_title' => "</dt>\n\t\t<dd>\n\t\t\t", ));
参考サイト:WordPressのテーマ、wp.Vicunaをウィジェット (widget)追加に対応させた