PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.4.4
Forumax – AI Powered Advanced Community Forum Plugin v2.4.4
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-search-topic.php

loop-search-topic.php in Forumax – AI Powered Advanced Community Forum Plugin 2.4.4, at templates/loop-search-topic.php

80 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 /**
4 * Search Loop - Single Topic
5 *
6 * @package bbPress
7 * @subpackage Theme
8 */
9
10 // Exit if accessed directly
11 defined( 'ABSPATH' ) || exit;
12 ?>
13
14 <div class="bbp-topic-header">
15 <div class="bbp-meta">
16 <span class="bbp-topic-post-date"><?php bbp_topic_post_date( bbp_get_topic_id() ); ?></span>
17 <a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>
18 </div><!-- .bbp-meta -->
19
20 <div class="bbp-topic-title">
21
22 <?php //do_action( 'bbp_theme_before_topic_title' ); ?>
23
24 <h3><?php esc_html_e( 'Topic:', 'forumax' ); ?>
25 <a href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a></h3>
26
27 <div class="bbp-topic-title-meta">
28
29 <?php if ( function_exists( 'bbp_is_forum_group_forum' ) && bbp_is_forum_group_forum( bbp_get_topic_forum_id() ) ) : ?>
30
31 <?php esc_html_e( 'in group forum ', 'forumax' ); ?>
32
33 <?php else : ?>
34
35 <?php esc_html_e( 'in forum ', 'forumax' ); ?>
36
37 <?php endif; ?>
38
39 <a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>
40
41 </div><!-- .bbp-topic-title-meta -->
42
43 <?php do_action( 'bbp_theme_after_topic_title' ); ?>
44
45 </div><!-- .bbp-topic-title -->
46
47 </div><!-- .bbp-topic-header -->
48
49 <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
50 <div class="bbp-topic-author">
51
52 <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
53
54 <?php bbp_topic_author_link( array( 'show_role' => true ) ); ?>
55
56 <?php if ( bbp_is_user_keymaster() ) : ?>
57
58 <?php do_action( 'bbp_theme_before_topic_author_admin_details' ); ?>
59
60 <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_topic_id() ); ?></div>
61
62 <?php do_action( 'bbp_theme_after_topic_author_admin_details' ); ?>
63
64 <?php endif; ?>
65
66 <?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
67
68 </div><!-- .bbp-topic-author -->
69
70 <div class="bbp-topic-content">
71
72 <?php do_action( 'bbp_theme_before_topic_content' ); ?>
73
74 <?php bbp_topic_content(); ?>
75
76 <?php do_action( 'bbp_theme_after_topic_content' ); ?>
77
78 </div><!-- .bbp-topic-content -->
79 </div><!-- #post-<?php bbp_topic_id(); ?> -->
80