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-reply.php

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

67 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Replies Loop - Single Reply
4 *
5 * @package bbPress
6 * @subpackage Theme
7 */
8
9 // Exit if accessed directly
10 defined( 'ABSPATH' ) || exit;
11 ?>
12
13 <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class( get_the_ID(), array( 'forum-comment' ) ); ?>>
14 <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
15 <div class="forum-post-top">
16 <div class="bbp-author-wrap">
17 <?php
18 // Reply author Avatar
19 bbp_reply_author_link(
20 array(
21 'sep' => '',
22 'show_role' => false,
23 'type' => 'avatar',
24 'size' => 40
25 )
26 );
27 ?>
28 <div class="forum-post-author">
29 <div class="topic-author frmx-d-flex frmx-mb-1">
30 <?php
31 // Reply author Name
32 bbp_reply_author_link(
33 array(
34 'sep' => '',
35 'show_role' => false,
36 'type' => 'name',
37 )
38 );
39 ?>
40 <div class="author-badge badge <?php echo sanitize_title( forumax_get_bbp_reply_user_role( bbp_get_reply_id() ) ) ?>">
41 <?php forumax_bbp_user_role_icon(); ?>
42 <span> <?php echo forumax_get_bbp_reply_user_role( bbp_get_reply_id() ) ?> </span>
43 </div>
44 </div>
45 <div class="forum-author-meta meta">
46 <a href="<?php the_permalink(); ?>" title="<?php bbp_topic_post_date(); ?>">
47 <?php bbp_reply_post_date(get_the_ID(), true); ?>
48 </a>
49 </div>
50 <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
51 </div>
52 </div>
53 <!-- Reply right side actions -->
54 <div class="reply-admin-links">
55 <?php
56 echo forumax_get_reply_admin_links()
57 ?>
58 </div>
59 </div>
60 <div class="comment-content">
61 <?php
62 do_action( 'bbp_theme_before_reply_content' );
63 bbp_reply_content();
64 do_action( 'bbp_theme_after_reply_content' );
65 ?>
66 </div>
67 </div>