• amfarr

    (@amfarr)


    I’ve been working on a theme locally through mamp. just recently put it up on my site. I can’t for the life of me figure out why only one sidebar (the default one is showing up.

    <div id="sidebar"><aside>
    	<?php if ( ! dynamic_sidebar( 'Sidebar2' )) : ?>
    
    		<li id="sidebar-nav" class="widget menu">
    			<ul>
    				<?php wp_nav_menu( array( 'theme_location' => 'sidebar2' ) ); /* editable within the WordPress backend */ ?>
    			</ul>
    		</li>
    	<?php endif; ?>
    </div><!--sidebar--></aside>

    This is one of the sidebars code. Some of them have menus (like this one) some of them have various widgets.

    Here is my functions.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Not sure if you need this but this is my menus setup http://dl.dropbox.com/u/5291718/Screen%20shot%202011-04-12%20at%205.04.59%20PM.png

    Any help is appreciated!

  • The topic ‘Transfered theme from local set up to remote and multiple sidebars aren't workin’ is closed to new replies.