# bbp-core/2.4.2/templates/loop-forums.php

Forumax – AI Powered Advanced Community Forum Plugin, version 2.4.2. 40 lines.

- Page: https://pluginprobe.com/plugins/bbp-core/2.4.2/code/templates/loop-forums.php
- Raw: https://pluginprobe.com/plugins/bbp-core/2.4.2/raw/templates/loop-forums.php
- Modified: 2026-04-10T15:32:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbp-core/2.4.2/code/templates/loop-forums.php#L10-L20`.

```php
<?php

/**
 * Forums Loop
 *
 * @package bbPress
 * @subpackage Theme
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

do_action( 'bbp_template_before_forums_loop' ); ?>

<div class="forums-box">

    <div class="post-header forums-header">
        <div class="frmx-col-md-6 frmx-col-sm-6 support-info">
            <span> <?php esc_html_e( 'Forum', 'forumax' ); ?> </span>
        </div>
        <!-- /.support-info -->
        <div class="frmx-col-md-6 frmx-col-sm-6 support-category-menus">
            <ul class="forum-titles">
                <li class="forum-topic-count"> <?php esc_html_e( 'Topics', 'forumax' ); ?> </li>
                <li class="forum-reply-count"> <?php bbp_show_lead_topic() ? esc_html_e( 'Replies', 'forumax' ) : esc_html_e( 'Posts',   'forumax' ); ?> </li>
                <li class="forum-freshness"> <?php esc_html_e( 'Latest activity', 'forumax' ); ?> </li>
            </ul>
        </div>
        <!-- /.support-category-menus -->
    </div>

    <div class="community-posts-wrapper bb-radius">
        <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
            <?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
        <?php endwhile; ?>
    </div>

</div>

<?php do_action( 'bbp_template_after_forums_loop' );
```
