[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/extras/ -> single-reply.php (source)

   1  <?php
   2  
   3  /**
   4   * Single Reply
   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_reply_forum_id() ) ) ) : ?>
  17  
  18          <?php while ( have_posts() ) : the_post(); ?>
  19  
  20              <div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper">
  21                  <h1 class="entry-title"><?php bbp_reply_title(); ?></h1>
  22                  <div class="entry-content">
  23  
  24                      <?php bbp_get_template_part( 'content', 'single-reply' ); ?>
  25  
  26                  </div><!-- .entry-content -->
  27              </div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> -->
  28  
  29          <?php endwhile; ?>
  30  
  31      <?php elseif ( bbp_is_forum_private( bbp_get_reply_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();


Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1