/bbpress/loop-search-reply.php

  1. <?php 
  2. /** 
  3. * Search Loop - Single Reply 
  4. * 
  5. * @package bbPress 
  6. * @subpackage Theme 
  7. */ 
  8. ?> 
  9.  
  10. <div id="post-<?php bbp_reply_id(); ?>" <?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. <div class="bbp-reply-header"> 
  44. <div class="bbp-meta"> 
  45. <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> 
  46. <span class="bbp-reply-to"><?php _e('In reply to: ', 'evolve'); ?> 
  47. <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> | </span> 
  48. </div> 
  49. </div> 
  50.  
  51. <div class="bbp-reply-entry"> 
  52.  
  53. <?php 
  54. do_action('bbp_theme_before_reply_content'); 
  55.  
  56. bbp_reply_content(); 
  57.  
  58. do_action('bbp_theme_after_reply_content'); 
  59. ?> 
  60.  
  61. </div> 
  62.  
  63. <div class="bbp-arrow"></div> 
  64.  
  65. </div><!-- .bbp-reply-content --> 
  66.  
  67. </div><!-- #post-<?php bbp_reply_id(); ?> --> 
.