dynamic sidebar not showing up in actual page.
Hello I have this function in the function.php
PHP Code:
register_sidebar (array(
'name' => 'sidebar01',
'before_widget' => '<li id ="%1$s" class="%2$s"> ' ,
'after_widget' => '</li > ' ,
'before_title' => '<h3 class="widgettitle">',
'after_title' => '</h3>'
));
and this in the related sidebar.php
HTML Code:
<div id="nav01">
<ul>
<?php if(!function_exists('dynamic-sidebar')|| !dynamic_sidebar('sidebar01')){ ?>
<?php } ?>
</ul>
</div><!--end nav01-->
in the wp admin area I now have the option my dynamic sidebar showing up, under widgets. I can the various widgets to it.
Only itch so far it is not displaying in the actual page.
i see the colored div i have for it. but not the side bar.
Could someone point me to what I am doing wrong?
Thx
D