Dynamic sidebar not showing up in actual page

Hello I have this function in the function.php

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

		<div id="nav01">
			<?php if(!function_exists('dynamic-sidebar')|| !dynamic_sidebar('sidebar01')){ ?>
			<?php } ?>
		</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?

Do you have

<?php get_sidebar(); ?>

in the template file where sidebar should be shown?

But very reasonable question…if only :slight_smile: I would gladly have traded temp embarrassment for a sidebar or two.
and actually since i wrote this post I use the same code to add an extra side bar.

the color div and text I used as marker/placeholder “where is the sidebar” show up.
Also been looking at wp own support page. so far no luck.

yeah I know crappy color scheme but not yet at the design stage.

Didn’t notice this at first, but


should be


Ronalds thank you! You are so dead on had not seen that at all.
enacted the change and can now see the side bars.
Thank you!