PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.3
Forumax – AI Powered Advanced Community Forum Plugin v2.4.3
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 2.1.0 All 29 releases
bbp-core / templates / content-archive-forum.php

content-archive-forum.php in Forumax – AI Powered Advanced Community Forum Plugin 2.4.3, at templates/content-archive-forum.php

44 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Archive Forum Content Part
5 *
6 * @package bbPress
7 * @subpackage Theme
8 */
9
10 // Exit if accessed directly
11 defined('ABSPATH') || exit;
12
13 $has_sidebar = is_active_sidebar('forum_archive_sidebar');
14 $main_column = $has_sidebar ? '8' : '12';
15 ?>
16 <div class="frmx-row frmx-sidebar-<?php echo esc_attr(forumax_get_opt('sidebar_position', 'right')); ?>">
17 <div class="frmx-col-lg-<?php echo esc_attr($main_column); ?>">
18
19 <?php bbp_forum_subscription_link(); ?>
20
21 <?php do_action('bbp_template_before_forums_index'); ?>
22
23 <?php if (bbp_has_forums()): ?>
24
25 <?php bbp_get_template_part('loop', 'forums'); ?>
26
27 <?php else: ?>
28
29 <?php bbp_get_template_part('feedback', 'no-forums'); ?>
30
31 <?php endif; ?>
32
33 <?php do_action('bbp_template_after_forums_index'); ?>
34 </div>
35
36 <?php if ($has_sidebar): ?>
37 <div class="frmx-col-lg-4">
38 <aside class="forum-sidebar">
39 <?php dynamic_sidebar('forum_archive_sidebar'); ?>
40 </aside>
41 </div>
42 <?php endif; ?>
43
44 </div>