Quantcast
Channel: bbPress.org » All Posts
Viewing all articles
Browse latest Browse all 3638

Content not showing on using custom template

$
0
0

I am using forums.php as my custom template to modify bbpress. I copied content of archive-forum into it and modified it a bit. Thing is, the forum lists shows up as expected. But no topic or list of topics is shown on following the links. This is all I get.

Oh bother! No forums were found here!

Using the default page.php gives no problem.

Here’s the code for forums.php

<?php

/**
 * bbPress - Forum Archive
 *
 * @package bbPress
 * @subpackage Theme
 */

get_header(); ?>
<div id="main-content">
	<div id="millir-header-feat">
		<div class="container">
			<h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1>
		</div>
	</div>
	<div class="container">
	<div id="content-area" class="clearfix">
		<div id="left-area">
			<?php do_action( 'bbp_before_main_content' ); ?>

			<?php do_action( 'bbp_template_notices' ); ?>

			<div id="forum-front" class="bbp-forum-front">				
				<div class="entry-content">

					<?php bbp_get_template_part( 'content', 'archive-forum' ); ?>

				</div>
			</div><!-- #forum-front -->

			<?php do_action( 'bbp_after_main_content' ); ?>
		</div>
		<?php get_sidebar(); ?>
	</div>
	</div>	
</div>
<?php get_footer(); ?>

Viewing all articles
Browse latest Browse all 3638

Trending Articles