Changeset 5103 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
- Timestamp:
- 03/07/2017 04:16:06 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.