Skip to content

Instantly share code, notes, and snippets.

@mattyza mattyza/bbpress.php Secret
Created May 10, 2013

Embed
What would you like to do?
A custom bbPress template file for the Canvas theme by WooThemes.
<?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
You can’t perform that action at this time.