Skip to:
Content

bbPress.org

Ticket #2519: loop-single-reply and content-single-topic-lead.patch

File loop-single-reply and content-single-topic-lead.patch, 1.3 KB (added by hardeepasrani, 10 years ago)
  • content-single-topic-lead.php

     
    6767
    6868                                <?php endif; ?>
    6969
     70                                <div class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s',  'bbpress' ), bbp_get_user_topic_count( bbp_get_topic_author_id( $topic_id ) ) ); ?></div>
     71                                <div class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count( bbp_get_topic_author_id( $topic_id ) ) ); ?></div>
     72
    7073                                <?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
    7174
    7275                        </div><!-- .bbp-topic-author -->
  • loop-single-reply.php

     
    5454
    5555                <?php endif; ?>
    5656
     57                <div class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s',  'bbpress' ), bbp_get_user_topic_count( bbp_get_reply_author_id( $reply_id ) ) ); ?></div>
     58                <div class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count( bbp_get_reply_author_id( $reply_id ) ) ); ?></div>
     59
    5760                <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    5861
    5962        </div><!-- .bbp-reply-author -->