WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multiple Sidebars in Version 2.7 (3 posts)

  1. benjancewicz
    Member
    Posted 5 years ago #

    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?

  2. whooami
    Member
    Posted 5 years ago #

  3. benjancewicz
    Member
    Posted 5 years ago #

    YES.
    Thanks, Whoo!

Topic Closed

This topic has been closed to new replies.

About this Topic