Support » Themes and Templates » Buro Sidebar Widgets Question

  • Resolved twilitegxa


    I am using the Buro theme from WooThemes and I wanted to know if anyone knows how to set up the sidebar page so that the sidebar widget doesn’t show up on pages using the Feedback or Blog template? It has the code that stops it from showing on Full Width templates, but I cannot figure out how to disable it from Feedback and Blog templates.

    	// Don't display sidebar if full width
    	global $woo_options;
    	if ( $woo_options[ 'woo_layout' ] != "layout-full" ) :
    <div id="sidebar">
    	<?php if ( woo_active_sidebar( 'primary' ) ) : ?>
        <div class="primary">
    		<?php woo_sidebar( 'primary' ); ?>
    	<?php endif; ?>    
    </div><!-- /#sidebar -->
    <?php endif; ?>

    Also, is there a way to only display certain sidebar widgets on certain pages? Such as, maybe on my “Lifestyles” page, only display my sidebar widget named “Lifestyles”? Can anyone tell me how I might be able to do this? Here is a url to my site in question:

Viewing 1 replies (of 1 total)
  • I found a way to do it!

    <?php if(is_page(array ('lifestyles', 'fabulous-facials', 'massage-and-musclease', 'body-rituals', 'detox-and-body-cleansing', 'complete-face-and-body', 'holistic-heaven', 'hand-and-nail-care', 'sole-care', 'bare-essentials', 'packages', 'spa-day', 'spa-packages'))) { ?>
    <hr />
    <?php wp_nav_menu( array('menu' => 'Lifestyles' )); ?>
    <?php } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Buro Sidebar Widgets Question’ is closed to new replies.