Changeset 7818 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-forum.php
- Timestamp:
- 11/01/2018 11:00:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-forum.php
r7813 r7818 1 1 <?php 2 2 3 /** 3 4 * Single Topic Content Part … … 12 13 13 14 <header class="page-header"> 14 <h1 class="page-title"><?php printf( esc_html__( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1>15 <h1 class="page-title"><?php printf( __( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1> 15 16 <p><?php bbp_forum_content(); ?></p> 16 17 </header> … … 30 31 <?php endif; ?> 31 32 32 <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?>33 <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?> 33 34 34 <?php bbp_get_template_part( 'pagination', 'topics' ); ?>35 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 35 36 36 <?php bbp_get_template_part( 'loop', 'topics'); ?>37 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 37 38 38 <?php bbp_get_template_part( 'pagination', 'topics' ); ?>39 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 39 40 40 <?php 41 if ( ! bb_base_topic_search_query( false ) ) { 42 bbp_get_template_part( 'form', 'topic' ); 43 } 44 ?> 41 <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form', 'topic' ); ?> 45 42 46 <?php elseif ( !bbp_is_forum_category() ) : ?>43 <?php elseif( !bbp_is_forum_category() ) : ?> 47 44 48 <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>45 <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> 49 46 50 <?php 51 if ( ! bb_base_topic_search_query( false ) ) { 52 bbp_get_template_part( 'form', 'topic' ); 53 } 54 ?> 47 <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form', 'topic' ); ?> 55 48 56 49 <?php endif; ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)