look in your theme’s sidebar.php file – these are the lines that register the sidebar as “dynamic”:
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
Thread Starter
zeeb
(@zeeb)
Thanks, Trisha. I had that code, but can’t figure out where to put it in the sidebar.php file.
I’ll paste the code in my sidebar.php file here:
<div id=”menu”>
<ul class=”main”>
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
- <h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
–>
-
-
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
<?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>
<?php wp_get_archives(‘type=monthly’); ?>
<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>
<?php } ?>
</div>