[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Replies Loop - Single Reply
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  // Exit if accessed directly
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  ?>
  14  
  15  <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
  16      <div class="bbp-meta">
  17          <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
  18  
  19          <?php if ( bbp_is_single_user_replies() ) : ?>
  20  
  21              <span class="bbp-header">
  22                  <?php esc_html_e( 'in reply to: ', 'bbpress' ); ?>
  23                  <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
  24              </span>
  25  
  26          <?php endif; ?>
  27  
  28          <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
  29  
  30          <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
  31  
  32          <?php bbp_reply_admin_links(); ?>
  33  
  34          <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
  35  
  36      </div><!-- .bbp-meta -->
  37  </div><!-- #post-<?php bbp_reply_id(); ?> -->
  38  
  39  <div <?php bbp_reply_class(); ?>>
  40      <div class="bbp-reply-author">
  41  
  42          <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
  43  
  44          <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
  45  
  46          <?php if ( current_user_can( 'moderate', bbp_get_reply_id() ) ) : ?>
  47  
  48              <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
  49  
  50              <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
  51  
  52              <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
  53  
  54          <?php endif; ?>
  55  
  56          <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
  57  
  58      </div><!-- .bbp-reply-author -->
  59  
  60      <div class="bbp-reply-content">
  61  
  62          <?php do_action( 'bbp_theme_before_reply_content' ); ?>
  63  
  64          <?php bbp_reply_content(); ?>
  65  
  66          <?php do_action( 'bbp_theme_after_reply_content' ); ?>
  67  
  68      </div><!-- .bbp-reply-content -->
  69  </div><!-- .reply -->


Generated: Thu Mar 28 01:00:51 2024 Cross-referenced by PHPXref 0.7.1