[ Index ] |
PHP Cross Reference of BBPress |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Replies Loop 5 * 6 * @package bbPress 7 * @subpackage Theme 8 */ 9 10 // Exit if accessed directly 11 defined( 'ABSPATH' ) || exit; 12 13 do_action( 'bbp_template_before_replies_loop' ); ?> 14 15 <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies"> 16 17 <li class="bbp-header"> 18 <div class="bbp-reply-author"><?php esc_html_e( 'Author', 'bbpress' ); ?></div><!-- .bbp-reply-author --> 19 <div class="bbp-reply-content"><?php bbp_show_lead_topic() 20 ? esc_html_e( 'Replies', 'bbpress' ) 21 : esc_html_e( 'Posts', 'bbpress' ); 22 ?></div><!-- .bbp-reply-content --> 23 </li><!-- .bbp-header --> 24 25 <li class="bbp-body"> 26 27 <?php if ( bbp_thread_replies() ) : ?> 28 29 <?php bbp_list_replies(); ?> 30 31 <?php else : ?> 32 33 <?php while ( bbp_replies() ) : bbp_the_reply(); ?> 34 35 <?php bbp_get_template_part( 'loop', 'single-reply' ); ?> 36 37 <?php endwhile; ?> 38 39 <?php endif; ?> 40 41 </li><!-- .bbp-body --> 42 43 <li class="bbp-footer"> 44 <div class="bbp-reply-author"><?php esc_html_e( 'Author', 'bbpress' ); ?></div> 45 <div class="bbp-reply-content"><?php bbp_show_lead_topic() 46 ? esc_html_e( 'Replies', 'bbpress' ) 47 : esc_html_e( 'Posts', 'bbpress' ); 48 ?></div><!-- .bbp-reply-content --> 49 </li><!-- .bbp-footer --> 50 </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 51 52 <?php do_action( 'bbp_template_after_replies_loop' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Feb 13 01:00:58 2025 | Cross-referenced by PHPXref 0.7.1 |