# bbpress/2.1-rc2/bbp-theme-compat/extras/single-topic-split.php

bbPress, version 2.1-rc2. 33 lines.

- Page: https://pluginprobe.com/plugins/bbpress/2.1-rc2/code/bbp-theme-compat/extras/single-topic-split.php
- Raw: https://pluginprobe.com/plugins/bbpress/2.1-rc2/raw/bbp-theme-compat/extras/single-topic-split.php
- Modified: 2012-06-18T17:11:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbpress/2.1-rc2/code/bbp-theme-compat/extras/single-topic-split.php#L10-L20`.

```php
<?php

/**
 * Split topic page
 *
 * @package bbPress
 * @subpackage Theme
 */

get_header(); ?>

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

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

	<?php while ( have_posts() ) : the_post(); ?>

		<div id="bbp-edit-page" class="bbp-edit-page">
			<h1 class="entry-title"><?php the_title(); ?></h1>
			<div class="entry-content">

				<?php bbp_get_template_part( 'form', 'topic-split' ); ?>

			</div>
		</div><!-- #bbp-edit-page -->

	<?php endwhile; ?>

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

<?php get_sidebar(); ?>
<?php get_footer(); ?>

```
