elbee-elgee / sidebar-bbpress.php

<?php
global $lblg_options;
lblg_sidebar_header(); 
?>
<?php if( 1 != $lblg_options['bbp_force_1_column'] ) { ?>
<div id="primarysb">
	<ul>
		<?php if ( !dynamic_sidebar('Primary') ) : ?>
		<?php if( current_user_can('edit_theme_options') ){ ?>
		<li><h4>Primary Sidebar</h4>
			This is the primary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
		</li>
		<?php } ?>
		<li><h4>Search</h4>
			<?php get_search_form(); ?>
		</li>

		<?php endif; ?>
	</ul>
</div> <!-- #primarysb -->

<div id="secondarysb">
	<ul>
		<?php if ( !dynamic_sidebar('Secondary') ) : ?>
		<?php if( current_user_can('edit_theme_options') ){ ?>
		<li><h4>Secondary Sidebar</h4>
			This is the secondary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
		</li>
		<?php } ?>
		<li><h4>Meta</h4>
			<ul>
				<li><img src="<?php echo get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('rss2_url'); ?>">RSS Entries</a></li>
			 	<li><img src="<?php echo get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('comments_rss2_url'); ?>">RSS Comments</a></li>
				<?php wp_register(); ?>
		        <li><?php wp_loginout(); ?></li>
			</ul>
		</li>
		<?php endif; ?>
	</ul>
</div> <!-- #secondarysb -->
<?php
} //endif
lblg_sidebar_footer();
?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.