Source

elbee-elgee / archive-forum.php

Diff from to

archive-forum.php

 				<?php do_action( 'bbp_template_notices' ); ?>
 
 				<div id="forum-front" class="bbp-forum-front">
-					<h1 class="entry-title"><?php _e( 'Forums', 'bbpress' ); ?></h1>
+					<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1>
 					<div class="entry-content">
 
-						<?php do_action( 'bbp_template_before_forums_index' ); ?>
-
-						<?php if ( bbp_has_forums() ) : ?>
-
-							<?php bbp_get_template_part( 'bbpress/loop', 'forums' ); ?>
-
-						<?php else : ?>
-
-							<?php bbp_get_template_part( 'bbpress/no',   'forums' ); ?>
-
-						<?php endif; ?>
-
-						<?php do_action( 'bbp_template_after_forums_index' ); ?>
+						<?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
 
 					</div>
 				</div><!-- #forum-front -->
 
-<?php get_template_part( 'bbp-wrapper-footer' ); ?>
+<?php get_template_part( 'bbp-wrapper-footer' ); ?>