Changeset 5103
- Timestamp:
- 03/07/2017 04:16:06 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-archive-topic.php
r4248 r5103 9 9 <?php endif; ?> 10 10 11 <?php bbp_breadcrumb(); ?> 12 13 <?php if ( bbp_is_topic_tag() ) : ?> 14 15 <header id="topic-tag" class="page-header bbp-topic-tag"> 16 <h1 class="page-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1> 17 <?php bbp_topic_tag_description(); ?> 18 </header> 19 20 <?php endif; ?> 21 11 22 <div id="bbpress-forums"> 12 13 <?php if ( bbp_is_topic_tag() ) bbp_topic_tag_description(); ?>14 23 15 24 <?php do_action( 'bbp_template_before_topics_index' ); ?> 16 25 17 26 <?php if ( bbp_has_topics() ) : ?> 27 28 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 18 29 19 30 <?php bbp_get_template_part( 'loop', 'topics' ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5090 r5103 676 676 } 677 677 678 function bb_base_before_topics_loop() {679 do_action( 'bbp_template_notices' );680 681 if ( ! is_tax( 'topic-tag' ) ) {682 return;683 }684 685 bbp_breadcrumb();686 ?>687 <header id="topic-tag" class="page-header bbp-topic-tag">688 <h1 class="page-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1>689 </header>690 <?php bbp_get_template_part( 'pagination', 'topics' ); ?>691 <div class="entry-content">692 <?php693 }694 add_action( 'bbp_template_before_topics_loop', 'bb_base_before_topics_loop' );695 696 function bb_base_after_topics_loop() {697 if ( ! is_tax( 'topic-tag' ) ) {698 return;699 }700 ?>701 </div>702 <?php703 }704 add_action( 'bbp_template_after_topics_loop', 'bb_base_after_topics_loop' );705 706 678 function bb_is_intl_forum() { 707 679 return get_locale() != 'en_US';
Note: See TracChangeset
for help on using the changeset viewer.