-
-
Save mattyza/1b01583441b11c8d04d0 to your computer and use it in GitHub Desktop.
A custom bbPress template file for the Canvas theme by WooThemes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* bbPress Template | |
* | |
* This template is for all bbPress screens. | |
* | |
* @package WooFramework | |
* @subpackage Template | |
*/ | |
get_header(); | |
?> | |
<!-- #content Starts --> | |
<?php woo_content_before(); ?> | |
<div id="content" class="col-full"> | |
<div id="main-sidebar-container"> | |
<!-- #main Starts --> | |
<?php woo_main_before(); ?> | |
<section id="main"> | |
<?php | |
woo_loop_before(); | |
if ( have_posts() ) { $count = 0; | |
while ( have_posts() ) { the_post(); $count++; | |
the_content(); | |
} | |
} | |
woo_loop_after(); | |
?> | |
</section><!-- /#main --> | |
<?php woo_main_after(); ?> | |
<?php get_sidebar(); ?> | |
</div><!-- /#main-sidebar-container --> | |
<?php get_sidebar( 'alt' ); ?> | |
</div><!-- /#content --> | |
<?php woo_content_after(); ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment