-
Notifications
You must be signed in to change notification settings - Fork 7
/
single-view.php
41 lines (33 loc) · 900 Bytes
/
single-view.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Single View
*
* @package bbPress
* @subpackage Theme
*/
get_header();
if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) {
tech_show_sidebar( "l" );
}
?>
<div id="content" class="<?php if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) {
echo "narrow";
} else {
echo "wide";
} ?>column">
<?php do_action( 'bbp_before_main_content' ); ?>
<?php do_action( 'bbp_template_notices' ); ?>
<div id="bbp-view-<?php bbp_view_id(); ?>" class="bbp-view">
<h1 class="entry-title"><?php bbp_view_title(); ?></h1>
<div class="entry-content">
<?php bbp_get_template_part( 'content', 'single-view' ); ?>
</div>
</div><!-- #bbp-view-<?php bbp_view_id(); ?> -->
<?php do_action( 'bbp_after_main_content' ); ?>
</div><!-- #content -->
<?php
if ( of_get_option( 'forum_sidebar', '0' ) == "1" ) {
tech_show_sidebar( "r" );
}
get_footer();
?>