Skip to:
Content

bbPress.org

Ticket #3002: 3002.patch

File 3002.patch, 440 bytes (added by Robkk, 3 years ago)

Patch adds a conditional to output threaded replies only on single topic pages only. Tested and works with using the single topic shortcode.

  • templates/default/bbpress/loop-replies.php

     
    2121
    2222        <li class="bbp-body">
    2323
    24                 <?php if ( bbp_thread_replies() ) : ?>
     24                <?php if ( bbp_thread_replies() && bbp_is_single_topic() ) : ?>
    2525
    2626                        <?php bbp_list_replies(); ?>
    2727