# bbp-core/2.4.3/templates/content-archive-forum.php

Forumax – AI Powered Advanced Community Forum Plugin, version 2.4.3. 44 lines.

- Page: https://pluginprobe.com/plugins/bbp-core/2.4.3/code/templates/content-archive-forum.php
- Raw: https://pluginprobe.com/plugins/bbp-core/2.4.3/raw/templates/content-archive-forum.php
- Modified: 2026-01-28T15:54:38+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.3/code/templates/content-archive-forum.php#L10-L20`.

```php
<?php

/**
 * Archive Forum Content Part
 *
 * @package bbPress
 * @subpackage Theme
 */

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

$has_sidebar = is_active_sidebar('forum_archive_sidebar');
$main_column = $has_sidebar ? '8' : '12';
?>
<div class="frmx-row frmx-sidebar-<?php echo esc_attr(forumax_get_opt('sidebar_position', 'right')); ?>">
    <div class="frmx-col-lg-<?php echo esc_attr($main_column); ?>">

        <?php bbp_forum_subscription_link(); ?>

        <?php do_action('bbp_template_before_forums_index'); ?>

        <?php if (bbp_has_forums()): ?>

            <?php bbp_get_template_part('loop', 'forums'); ?>

        <?php else: ?>

            <?php bbp_get_template_part('feedback', 'no-forums'); ?>

        <?php endif; ?>

        <?php do_action('bbp_template_after_forums_index'); ?>
    </div>

    <?php if ($has_sidebar): ?>
        <div class="frmx-col-lg-4">
            <aside class="forum-sidebar">
                <?php dynamic_sidebar('forum_archive_sidebar'); ?>
            </aside>
        </div>
    <?php endif; ?>

</div>
```
