[ Index ] |
PHP Cross Reference of BBPress |
[Summary view] [Print] [Text view]
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();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Dec 30 01:00:53 2024 | Cross-referenced by PHPXref 0.7.1 |