# bbp-core/2.2.0/templates/loop-single-forum.php

Forumax – AI Powered Advanced Community Forum Plugin, version 2.2.0. 61 lines.

- Page: https://pluginprobe.com/plugins/bbp-core/2.2.0/code/templates/loop-single-forum.php
- Raw: https://pluginprobe.com/plugins/bbp-core/2.2.0/raw/templates/loop-single-forum.php
- Modified: 2026-02-21T10:57:36+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.2.0/code/templates/loop-single-forum.php#L10-L20`.

```php
<?php

/**
 * Forums Loop - Single Forum
 *
 * @package bbPress
 * @subpackage Theme
 */

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

<div id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class('', array('community-post', 'style-two', 'forum-item') ); ?>>
    <?php do_action( 'bbp_theme_before_forum_title' ); ?>

    <div class="frmx-col-md-6 post-content">
        <?php if ( has_post_thumbnail(get_the_ID()) ) : ?>
            <div class="author-avatar forum-icon">
                <?php the_post_thumbnail('forumax_60x60'); ?>
            </div>
        <?php endif; ?>
        <div class="entry-content">
            <a href="<?php bbp_forum_permalink(); ?>">
                <h3 class="post-title"> <?php bbp_forum_title(); ?> </h3>
            </a>
            <p> <?php bbp_forum_content(); ?> </p>
        </div>
    </div>

    <div class="frmx-col-md-6 post-meta-wrapper">
        <ul class="forum-titles">
            <li class="forum-topic-count"> <?php bbp_forum_topic_count(); ?> </li>
            <li class="forum-reply-count"> <?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?> </li>
            <li class="forum-freshness">
                <div class="freshness-box">
                    <div class="freshness-top">
                        <div class="freshness-link">
                            <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
                            <?php bbp_forum_freshness_link(); ?>
                            <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
                        </div>
                    </div>
                    <div class="freshness-btm">
                        <?php do_action( 'bbp_theme_before_topic_author' ); ?>
                        <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'type' => 'name' ) ); ?>
                        <?php do_action( 'bbp_theme_after_topic_author' ); ?>
                        <?php
                        $verified_user = bbp_get_topic_author_id(bbp_get_forum_last_active_id());
                        $verified_class = '';
                        if ($verified_user == 'verified') {
                            $verified_class = 'disputo-verified-user';
                        }
                        ?>
                        <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 45, 'type' => 'avatar' ) ); ?>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div>
```
