Changeset 4843 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
- Timestamp:
- 01/31/2017 11:10:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r4842 r4843 540 540 } 541 541 542 $term_subscription = '';543 if ( function_exists( 'WordPressdotorg\Forums\Term_Subscription\get_subscription_link' ) ) {544 $term_subscription = WordPressdotorg\Forums\Term_Subscription\get_subscription_link( get_queried_object()->term_id );545 }546 547 542 bbp_breadcrumb(); 548 543 ?> 549 <div id="topic-tag" class="bbp-topic-tag"> 550 <h1 class="entry-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1> 551 <?php if ( ! empty( $term_subscription ) ) : ?><?php echo $term_subscription; ?><?php endif; ?> 544 <header id="topic-tag" class="page-header bbp-topic-tag"> 545 <h1 class="page-title"><?php printf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1> 546 </header> 547 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 552 548 <div class="entry-content"> 553 549 <?php … … 561 557 ?> 562 558 </div> 563 </div><!-- #topic-tag -->564 559 <?php 565 560 }
Note: See TracChangeset
for help on using the changeset viewer.