WordPress.org

Ready to get started?Download WordPress

Forums

zeeBusiness
Unable to Keep Widgets and Menu Blank (2 posts)

  1. snaushads
    Member
    Posted 2 years ago #

    The set of themes are awesome.

    Below are the issues:
    1. If no Widgets are Added, theme does its own magic and displays
    Categories, Pages and Archives in Sidebar Widget
    2. If Menu area is left Blank, no 3.0 menu item is assigned Other menu areas display ALL pages

    Any way to fix these ?

    http://wordpress.org/extend/themes/zeebusiness/

  2. Marlimant
    Member
    Posted 2 years ago #

    Question 1:
    To disable the default sidebars, open sidebar.php and delete this:

    else : ?>
    
    	<?php wp_list_categories('title_li=<h2>Categories</h2>'); ?>
    
    	<?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>
    
    	<li><h2><?php _e('Archives', 'themezee_lang'); ?></h2>
    		<ul>
    		<?php wp_get_archives(); ?>
    		</ul>
    	</li>
    
    	<?php wp_list_bookmarks();

    Or if you want an easier way, replaces the entire contents of your sidebar.php with this:

    <div id="sidebar">
    	<ul>
    <?php
    	if(is_page() && is_active_sidebar('sidebar-pages')) : dynamic_sidebar('sidebar-pages');
        elseif(is_active_sidebar('sidebar-blog')) : dynamic_sidebar('sidebar-blog');
     ?>
    
    <?php endif; ?>
    
    	</ul>
    </div>

    This can help with your 2nd question:
    Remove top menu from Zee Business Template

    Best regards.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic