[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Search 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 class="bbp-reply-header">
  16      <div class="bbp-meta">
  17          <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
  18          <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
  19      </div><!-- .bbp-meta -->
  20  
  21      <div class="bbp-reply-title">
  22          <h3><?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></h3>
  24      </div><!-- .bbp-reply-title -->
  25  </div><!-- .bbp-reply-header -->
  26  
  27  <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
  28      <div class="bbp-reply-author">
  29  
  30          <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
  31  
  32          <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
  33  
  34          <?php if ( bbp_is_user_keymaster() ) : ?>
  35  
  36              <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
  37  
  38              <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
  39  
  40              <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
  41  
  42          <?php endif; ?>
  43  
  44          <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
  45  
  46      </div><!-- .bbp-reply-author -->
  47  
  48      <div class="bbp-reply-content">
  49  
  50          <?php do_action( 'bbp_theme_before_reply_content' ); ?>
  51  
  52          <?php bbp_reply_content(); ?>
  53  
  54          <?php do_action( 'bbp_theme_after_reply_content' ); ?>
  55  
  56      </div><!-- .bbp-reply-content -->
  57  </div><!-- #post-<?php bbp_reply_id(); ?> -->
  58  


Generated: Fri Apr 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1