StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-06-2009, 04:17 AM
lindebjerg's Avatar
lindebjerg lindebjerg is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Jan 2009
Location: Germany
Posts: 526
Default How to make sidebars appears empty?

How much code must I erase in sidebar_left.php and sidebar_right.php to make the sidebars appears empty until I make a content by widgets?

Theme Streamline 3.0

Code:
<?php //begin l_sidebar  ?>

<div id="l_sidebar">

	<ul id="l_sidebarwidgeted">
	
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar Bottom Left') ) : ?>
	
		<li id="categories" class="widget">
            <h4><?php _e("Categories", 'studiopress'); ?></h4>
                <ul>
                    <?php wp_list_categories('orderby=name&title_li=&depth=2'); ?>[/list]		
	
		<li id="archives" class="widget">
            <h4><?php _e("Archives", 'studiopress'); ?></h4>
                <ul>
                    <?php wp_get_archives('type=monthly'); ?>[/list]		
		
	<?php endif; ?>
	
	[/list]	
</div>

<?php //end l_sidebar  ?>
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Feature box to empty space Carolinevt General Discussion 3 02-24-2010 08:49 AM
Empty space dodille General Discussion 2 12-19-2009 12:08 AM
tabber empty accessart General Discussion 6 08-18-2009 04:55 PM


All times are GMT -5. The time now is 03:58 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.