Try this:
– You first have to start the WordPress Loop
– Then call the get_template _part() function to get the forum template.
<?php
/*
Template Name: Forum
*/
@ePilipovic
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="forum-front" class="bbp-forum-front">
<div class="entry-content">
<?php the_content(); ?>
<?php get_template_part( 'loop', 'bbp_forums' ); ?>
<?php get_template_part( 'form', 'bbp_topic' ); ?>
</div>
</div><!-- #forum-front -->
<?php endwhile; ?>
<?php get_footer(); ?>
Try this:
– You first have to start the WordPress Loop
– Then call the get_template _part() function to get the forum template.
<?php
/*
Template Name: Forum
*/
@ePilipovic
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="forum-front" class="bbp-forum-front">
<div class="entry-content">
<?php the_content(); ?>
<?php get_template_part( 'loop', 'bbp_forums' ); ?>
<?php get_template_part( 'form', 'bbp_topic' ); ?>
</div>
</div><!-- #forum-front -->
<?php endwhile; ?>
<?php get_footer(); ?>
Hello,
I tried this but the forum didn’t show up ony header and footer.
thanks
Hello,
I tried this but the forum didn’t show up ony header and footer.
thanks