web/wp-content/plugins/bbpress/templates/default/extras/page-front-forums.php
changeset 196 5e8dcbe22c24
equal deleted inserted replaced
195:c7c0fbc09788 196:5e8dcbe22c24
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * Template Name: bbPress - Forums (Index)
       
     5  *
       
     6  * @package bbPress
       
     7  * @subpackage Theme
       
     8  */
       
     9 
       
    10 get_header(); ?>
       
    11 
       
    12 	<?php do_action( 'bbp_before_main_content' ); ?>
       
    13 
       
    14 	<?php do_action( 'bbp_template_notices' ); ?>
       
    15 
       
    16 	<?php while ( have_posts() ) : the_post(); ?>
       
    17 
       
    18 		<div id="forum-front" class="bbp-forum-front">
       
    19 			<h1 class="entry-title"><?php the_title(); ?></h1>
       
    20 			<div class="entry-content">
       
    21 
       
    22 				<?php the_content(); ?>
       
    23 
       
    24 				<?php bbp_get_template_part( 'content', 'archive-forum' ); ?>
       
    25 
       
    26 			</div>
       
    27 		</div><!-- #forum-front -->
       
    28 
       
    29 	<?php endwhile; ?>
       
    30 
       
    31 	<?php do_action( 'bbp_after_main_content' ); ?>
       
    32 
       
    33 <?php get_sidebar(); ?>
       
    34 <?php get_footer(); ?>