Forums

The Main page showing more Widgets then selected (3 posts)

  1. khandu
    Member
    Posted 3 years ago #

    Hi

    I have tried many popular simple themes..

    Now look at the picture below for what I have chosen as Widgets to be displayed

    http://img21.imageshack.us/img21/4227/widgetdr4.bmp

    Now My main page comes up with these two additional widgets..

    http://img22.imageshack.us/img22/1883/mainpageuc7.bmp

    Most of the themes show them.. some do not.. For example Desk Mess does not show it but iNove does show it.. How do i fix it?? I want to remove them..

  2. noonoo
    Member
    Posted 3 years ago #

    Some themes have widgets written into them, most are coded so when a person selects their own widgets in the admin panel it overwrites the themes widgets but this is not always the case depending on the theme.

    In iNove you want to edit the sidebar.php in a text editor like notepad.

    By default it looks like:

    <div id="centersidebar">
    
    	<!-- sidebar east START -->
    	<div id="eastsidebar" class="sidebar">
    	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>
    
    		<!-- categories -->
    		<div class="widget widget_categories">
    			<h3>Categories</h3>
    			<ul>
    				<?php wp_list_cats('sort_column=name&optioncount=0&depth=1'); ?>
    			</ul>
    		</div>
    
    	<?php endif; ?>
    	</div>
    	<!-- sidebar east END -->
    
    	<!-- sidebar west START -->
    	<div id="westsidebar" class="sidebar">
    	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('west_sidebar') ) : ?>
    
    		<!-- archives -->
    		<div class="widget widget_archive">
    			<h3>Archives</h3>
    			<ul>
    				<?php wp_get_archives('type=monthly'); ?>
    			</ul>
    		</div>
    
    	<?php endif; ?>
    	</div>
    	<!-- sidebar west END -->
    	<div class="fixed"></div>
    </div>
    
    <!-- sidebar south START -->
    <div id="southsidebar" class="sidebar">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?>
    
    	<!-- meta -->
    	<div class="widget">
    		<h3>Meta</h3>
    		<ul>
    			<?php wp_register(); ?>
    			<li><?php wp_loginout(); ?></li>
    		</ul>
    	</div>
    
    <?php endif; ?>
    </div>
    <!-- sidebar south END -->
    
    </div>

    You can remove the widgets by deleting them so it looks like:

    <div id="centersidebar">
    
    	<!-- sidebar east START -->
    	<div id="eastsidebar" class="sidebar">
    	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>
    
    	<?php endif; ?>
    	</div>
    	<!-- sidebar east END -->
    
    	<!-- sidebar west START -->
    	<div id="westsidebar" class="sidebar">
    	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('west_sidebar') ) : ?>
    
    	<?php endif; ?>
    	</div>
    	<!-- sidebar west END -->
    	<div class="fixed"></div>
    </div>
    
    <!-- sidebar south START -->
    <div id="southsidebar" class="sidebar">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?>
    
    <?php endif; ?>
    </div>
    <!-- sidebar south END -->
    
    </div>

    Hope this helps

    Nick

  3. bbrownatl
    Member
    Posted 2 years ago #

    How about if I just want to remove the "Archieve"? Can you show me what code to remove.

    Thanks,
    Brian

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags