I'm building a new theme and I'm using Version 2.7, and I'm trying to give it multiple sidebars.
I read this: http://codex.wordpress.org/Widgetizing_Themes
but I'm not sure what I got wrong.
In my sidebar.php page, I have this code:
<li class="image"><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar1') ) : ?> <?php endif; ?></li>
In my functions.php, I have this code:
if ( function_exists('register_sidebars') ) register_sidebars(2);
What am I doing wrong?