PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.1 2.5.0 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 All 31 releases
bbp-core / lib / bbpress / templates / default / extras / single-topic.php

single-topic.php in Forumax – AI Powered Advanced Community Forum Plugin 2.5.0, at lib/bbpress/templates/default/extras/single-topic.php

41 lines 931 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Single Topic
5 *
6 * @package bbPress
7 * @subpackage Theme
8 */
9
10 get_header(); ?>
11
12 <?php do_action( 'bbp_before_main_content' ); ?>
13
14 <?php do_action( 'bbp_template_notices' ); ?>
15
16 <?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_topic_forum_id() ) ) ) : ?>
17
18 <?php while ( have_posts() ) : the_post(); ?>
19
20 <div id="bbp-topic-wrapper-<?php bbp_topic_id(); ?>" class="bbp-topic-wrapper">
21 <h1 class="entry-title"><?php bbp_topic_title(); ?></h1>
22 <div class="entry-content">
23
24 <?php bbp_get_template_part( 'content', 'single-topic' ); ?>
25
26 </div>
27 </div><!-- #bbp-topic-wrapper-<?php bbp_topic_id(); ?> -->
28
29 <?php endwhile; ?>
30
31 <?php elseif ( bbp_is_forum_private( bbp_get_topic_forum_id(), false ) ) : ?>
32
33 <?php bbp_get_template_part( 'feedback', 'no-access' ); ?>
34
35 <?php endif; ?>
36
37 <?php do_action( 'bbp_after_main_content' ); ?>
38
39 <?php get_sidebar(); ?>
40 <?php get_footer();
41