Bob1nz

loop-single-reply.php

Mar 4th, 2014
318
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  * Replies Loop - Single Reply
  5.  *
  6.  * @package bbPress
  7.  * @subpackage Theme
  8.  */
  9.  
  10. ?>
  11.  
  12. <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
  13.  
  14.     <div class="bbp-meta">
  15.  
  16.         <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
  17.  
  18.         <?php if ( bbp_is_single_user_replies() ) : ?>
  19.  
  20.             <span class="bbp-header">
  21.                 <?php _e( 'in reply to: ', 'bbpress' ); ?>
  22.                 <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>
  23.             </span>
  24.  
  25.         <?php endif; ?>
  26.  
  27.         <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
  28.  
  29.         <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
  30.  
  31.         <?php bbp_reply_admin_links(); ?>
  32.  
  33.         <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
  34.  
  35.     </div><!-- .bbp-meta -->
  36.  
  37. </div><!-- #post-<?php bbp_reply_id(); ?> -->
  38.  
  39. <div <?php bbp_reply_class(); ?>>
  40.  
  41.     <div class="bbp-reply-author">
  42.  
  43.         <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
  44.  
  45.         <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
  46.  
  47.         <?php if ( bbp_is_user_keymaster() ) : ?>
  48.  
  49.             <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
  50.  
  51.             <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
  52.  
  53.             <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
  54.  
  55.         <?php endif; ?>
  56.  
  57.         <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
  58.  
  59.     </div><!-- .bbp-reply-author -->
  60.  
  61.     <div class="bbp-reply-content">
  62.  
  63.         <?php do_action( 'bbp_theme_before_reply_content' ); ?>
  64.  
  65.         <?php bbp_reply_content(); ?>
  66.  
  67.         <?php do_action( 'bbp_theme_after_reply_content' ); ?>
  68.  
  69.     </div><!-- .bbp-reply-content -->
  70.  
  71. </div><!-- .reply -->
RAW Paste Data