PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.2.0
Forumax – AI Powered Advanced Community Forum Plugin v2.2.0
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 / loop-single-forum.php

loop-single-forum.php in Forumax – AI Powered Advanced Community Forum Plugin 2.2.0, at templates/loop-single-forum.php

61 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Forums Loop - Single Forum
5 *
6 * @package bbPress
7 * @subpackage Theme
8 */
9
10 // Exit if accessed directly
11 defined( 'ABSPATH' ) || exit;
12 ?>
13
14 <div id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class('', array('community-post', 'style-two', 'forum-item') ); ?>>
15 <?php do_action( 'bbp_theme_before_forum_title' ); ?>
16
17 <div class="frmx-col-md-6 post-content">
18 <?php if ( has_post_thumbnail(get_the_ID()) ) : ?>
19 <div class="author-avatar forum-icon">
20 <?php the_post_thumbnail('forumax_60x60'); ?>
21 </div>
22 <?php endif; ?>
23 <div class="entry-content">
24 <a href="<?php bbp_forum_permalink(); ?>">
25 <h3 class="post-title"> <?php bbp_forum_title(); ?> </h3>
26 </a>
27 <p> <?php bbp_forum_content(); ?> </p>
28 </div>
29 </div>
30
31 <div class="frmx-col-md-6 post-meta-wrapper">
32 <ul class="forum-titles">
33 <li class="forum-topic-count"> <?php bbp_forum_topic_count(); ?> </li>
34 <li class="forum-reply-count"> <?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?> </li>
35 <li class="forum-freshness">
36 <div class="freshness-box">
37 <div class="freshness-top">
38 <div class="freshness-link">
39 <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
40 <?php bbp_forum_freshness_link(); ?>
41 <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
42 </div>
43 </div>
44 <div class="freshness-btm">
45 <?php do_action( 'bbp_theme_before_topic_author' ); ?>
46 <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'type' => 'name' ) ); ?>
47 <?php do_action( 'bbp_theme_after_topic_author' ); ?>
48 <?php
49 $verified_user = bbp_get_topic_author_id(bbp_get_forum_last_active_id());
50 $verified_class = '';
51 if ($verified_user == 'verified') {
52 $verified_class = 'disputo-verified-user';
53 }
54 ?>
55 <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 45, 'type' => 'avatar' ) ); ?>
56 </div>
57 </div>
58 </li>
59 </ul>
60 </div>
61 </div>