/bbpress/loop-single-reply.php

  1. <?php 
  2. /** 
  3. * Replies Loop - Single Reply 
  4. * 
  5. * @package bbPress 
  6. * @subpackage Theme 
  7. */ 
  8. ?> 
  9.  
  10. <div <?php bbp_reply_class(); ?>> 
  11.  
  12. <div class="bbp-reply-author"> 
  13.  
  14. <?php 
  15. do_action('bbp_theme_before_reply_author_details'); 
  16.  
  17. bbp_reply_author_link(array('sep' => '', 'show_role' => true)); 
  18. ?> 
  19.  
  20. <div class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></div> 
  21.  
  22. <div class="bbps-post-count"><?php printf(__('Post count: %s', 'evolve'), bbp_get_user_reply_count_raw(bbp_get_reply_author_id())); ?></div> 
  23.  
  24. <?php 
  25. if (bbp_is_user_keymaster()) : 
  26.  
  27. do_action('bbp_theme_before_reply_author_admin_details'); 
  28. ?> 
  29.  
  30. <div class="bbp-reply-ip"><?php bbp_author_ip(bbp_get_reply_id()); ?></div> 
  31.  
  32. <?php 
  33. do_action('bbp_theme_after_reply_author_admin_details'); 
  34.  
  35. endif; 
  36.  
  37. do_action('bbp_theme_after_reply_author_details'); 
  38. ?> 
  39.  
  40. </div><!-- .bbp-reply-author --> 
  41.  
  42. <div class="bbp-reply-content"> 
  43.  
  44. <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header clearfix"> 
  45.  
  46. <div class="bbp-meta"> 
  47.  
  48. <?php if (bbp_is_single_user_replies()) : ?> 
  49.  
  50. <span class="bbp-header"> 
  51. <?php _e('in reply to: ', 'evolve'); ?> 
  52. <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> 
  53. </span> 
  54.  
  55. <?php endif; ?> 
  56.  
  57. <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> 
  58.  
  59. <?php 
  60. do_action('bbp_theme_before_reply_admin_links'); 
  61.  
  62. bbp_reply_admin_links(array('after' => '<span class="admin_links_sep"> | </span></span>')); 
  63.  
  64. do_action('bbp_theme_after_reply_admin_links'); 
  65. ?> 
  66.  
  67. </div><!-- .bbp-meta --> 
  68.  
  69. </div><!-- #post-<?php bbp_reply_id(); ?> --> 
  70.  
  71. <div class="bbp-reply-entry"> 
  72. <?php 
  73. do_action('bbp_theme_before_reply_content'); 
  74.  
  75. bbp_reply_content(); 
  76.  
  77. do_action('bbp_theme_after_reply_content'); 
  78. ?> 
  79. </div> 
  80. <div class="bbp-arrow"></div> 
  81.  
  82. </div><!-- .bbp-reply-content --> 
  83.  
  84. </div><!-- .reply --> 
.