/templates/default/bbpress/content-single-topic-lead.php

  1. <?php 
  2.  
  3. /** 
  4. * Single Topic Lead Content Part 
  5. * 
  6. * @package bbPress 
  7. * @subpackage Theme 
  8. */ 
  9.  
  10. ?> 
  11.  
  12. <?php do_action( 'bbp_template_before_lead_topic' ); ?> 
  13.  
  14. <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> 
  15.  
  16. <li class="bbp-header"> 
  17.  
  18. <div class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></div><!-- .bbp-topic-author --> 
  19.  
  20. <div class="bbp-topic-content"> 
  21.  
  22. <?php _e( 'Topic', 'bbpress' ); ?> 
  23.  
  24. <?php bbp_topic_subscription_link(); ?> 
  25.  
  26. <?php bbp_topic_favorite_link(); ?> 
  27.  
  28. </div><!-- .bbp-topic-content --> 
  29.  
  30. </li><!-- .bbp-header --> 
  31.  
  32. <li class="bbp-body"> 
  33.  
  34. <div class="bbp-topic-header"> 
  35.  
  36. <div class="bbp-meta"> 
  37.  
  38. <span class="bbp-topic-post-date"><?php bbp_topic_post_date(); ?></span> 
  39.  
  40. <a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a> 
  41.  
  42. <?php do_action( 'bbp_theme_before_topic_admin_links' ); ?> 
  43.  
  44. <?php bbp_topic_admin_links(); ?> 
  45.  
  46. <?php do_action( 'bbp_theme_after_topic_admin_links' ); ?> 
  47.  
  48. </div><!-- .bbp-meta --> 
  49.  
  50. </div><!-- .bbp-topic-header --> 
  51.  
  52. <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 
  53.  
  54. <div class="bbp-topic-author"> 
  55.  
  56. <?php do_action( 'bbp_theme_before_topic_author_details' ); ?> 
  57.  
  58. <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?> 
  59.  
  60. <?php if ( bbp_is_user_keymaster() ) : ?> 
  61.  
  62. <?php do_action( 'bbp_theme_before_topic_author_admin_details' ); ?> 
  63.  
  64. <div class="bbp-topic-ip"><?php bbp_author_ip( bbp_get_topic_id() ); ?></div> 
  65.  
  66. <?php do_action( 'bbp_theme_after_topic_author_admin_details' ); ?> 
  67.  
  68. <?php endif; ?> 
  69.  
  70. <?php do_action( 'bbp_theme_after_topic_author_details' ); ?> 
  71.  
  72. </div><!-- .bbp-topic-author --> 
  73.  
  74. <div class="bbp-topic-content"> 
  75.  
  76. <?php do_action( 'bbp_theme_before_topic_content' ); ?> 
  77.  
  78. <?php bbp_topic_content(); ?> 
  79.  
  80. <?php do_action( 'bbp_theme_after_topic_content' ); ?> 
  81.  
  82. </div><!-- .bbp-topic-content --> 
  83.  
  84. </div><!-- #post-<?php bbp_topic_id(); ?> --> 
  85.  
  86. </li><!-- .bbp-body --> 
  87.  
  88. <li class="bbp-footer"> 
  89.  
  90. <div class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></div> 
  91.  
  92. <div class="bbp-topic-content"> 
  93.  
  94. <?php _e( 'Topic', 'bbpress' ); ?> 
  95.  
  96. </div><!-- .bbp-topic-content --> 
  97.  
  98. </li> 
  99.  
  100. </ul><!-- #bbp-topic-<?php bbp_topic_id(); ?>-lead --> 
  101.  
  102. <?php do_action( 'bbp_template_after_lead_topic' ); ?> 
.