PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.1 2.5.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 All 31 releases
← All changes | templates/content-archive-topic.php +41 -45 2.0.0 → 2.5.0 View file →
@@ -1,45 +1,41 @@
1 -<?php
2 -
3 -/**
4 - * Archive Topic Content Part
5 - *
6 - * @package bbPress
7 - * @subpackage Theme
8 - */
9 -
10 -// Exit if accessed directly
11 -defined( 'ABSPATH' ) || exit;
12 -
13 -?>
14 -
15 -<div id="bbpress-forums" class="bbpress-wrapper">
16 -
17 - <?php do_action( 'bbp_template_before_topic_tag_description' ); ?>
18 -
19 - <?php if ( bbp_is_topic_tag() ) : ?>
20 -
21 - <?php bbp_topic_tag_description( array( 'before' => '<div class="bbp-template-notice info"><ul><li>', 'after' => '</li></ul></div>' ) ); ?>
22 -
23 - <?php endif; ?>
24 -
25 - <?php do_action( 'bbp_template_after_topic_tag_description' ); ?>
26 -
27 - <?php do_action( 'bbp_template_before_topics_index' ); ?>
28 -
29 - <?php if ( bbp_has_topics() ) : ?>
30 -
31 - <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
32 -
33 - <?php bbp_get_template_part( 'loop', 'topics' ); ?>
34 -
35 - <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
36 -
37 - <?php else : ?>
38 -
39 - <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
40 -
41 - <?php endif; ?>
42 -
43 - <?php do_action( 'bbp_template_after_topics_index' ); ?>
44 -
45 -</div>
1 +<?php
2 +
3 +/**
4 + * Archive Topic Content Part
5 + *
6 + * @package bbPress
7 + * @subpackage Theme
8 + */
9 +
10 +// Exit if accessed directly
11 +defined( 'ABSPATH' ) || exit;
12 +
13 +?>
14 +
15 +<div id="bbpress-forums" class="bbpress-wrapper">
16 +
17 + <?php do_action( 'bbp_template_before_topic_tag_description' ); ?>
18 +
19 + <?php if ( bbp_is_topic_tag() ) : ?>
20 +
21 + <?php bbp_topic_tag_description( array( 'before' => '<div class="bbp-template-notice info"><ul><li>', 'after' => '</li></ul></div>' ) ); ?>
22 +
23 + <?php endif; ?>
24 +
25 + <?php do_action( 'bbp_template_after_topic_tag_description' ); ?>
26 +
27 + <?php do_action( 'bbp_template_before_topics_index' ); ?>
28 +
29 + <?php if ( bbp_has_topics() ) : ?>
30 +
31 + <?php bbp_get_template_part( 'loop', 'topics' ); ?>
32 +
33 + <?php else : ?>
34 +
35 + <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
36 +
37 + <?php endif; ?>
38 +
39 + <?php do_action( 'bbp_template_after_topics_index' ); ?>
40 +
41 +</div>