Unable to Keep Widgets and Menu Blank (2 posts)

  1. snaushads
    Posted 3 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 ?


  2. Marlimant
    Posted 3 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>
    		<?php wp_get_archives(); ?>
    	<?php wp_list_bookmarks();

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

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

    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