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
← All changes | templates/loop-topics.php +18 -20 2.4.22.2.0 View file →
@@ -74,12 +74,12 @@
74 74 ?>
75 75
76 76 <?php do_action( 'bbp_theme_after_topic_title' ); ?>
77 77
78 - <ul class="meta community-post-meta">
78 + <ul class="meta">
79 79 <li>
80 80 <?php echo get_the_post_thumbnail(bbp_get_topic_forum_id(), array(40, 40)); ?>
81 - <a href="<?php echo get_permalink( bbp_get_topic_forum_id() ); ?>" class="title">
81 + <a href="<?php echo get_permalink( bbp_get_topic_forum_id() ); ?>">
82 82 <?php echo get_the_title( bbp_get_topic_forum_id() ); ?>
83 83 </a>
84 84 </li>
85 85 <li>
@@ -108,27 +108,25 @@
108 108 <div class="pagination-wrapper">
109 109 <div class="view-post-of">
110 110 <p><?php bbp_forum_pagination_count(); ?></p>
111 111 </div>
112 - <?php if ( $query->max_num_pages > 1 ) : ?>
113 - <div class="bbp-pagination">
114 - <?php
115 - $big = 999999999;
116 - $current_url = add_query_arg( 'paged', '', get_pagenum_link() );
117 - $current_url = remove_query_arg( 'tab', $current_url );
112 + <div class="bbp-pagination">
113 + <?php
114 + $big = 999999999;
115 + $current_url = add_query_arg( 'paged', '', get_pagenum_link() );
116 + $current_url = remove_query_arg( 'tab', $current_url );
118 117
119 - echo paginate_links( array(
120 - 'base' => str_replace( $big, '%#%', esc_url( add_query_arg( 'paged', $big, $current_url ) ) ),
121 - 'format' => '?paged=%#%',
122 - 'current' => max( 1, get_query_var('paged') ),
123 - 'total' => $query->max_num_pages,
124 - 'prev_text' => '<i class="arrow_carrot-left"></i>',
125 - 'next_text' => '<i class="arrow_carrot-right"></i>',
126 - 'add_args' => array('tab' => $topic_status === 'publish' ? '' : 'closed')
127 - ));
128 - ?>
129 - </div>
130 - <?php endif; ?>
118 + echo paginate_links( array(
119 + 'base' => str_replace( $big, '%#%', esc_url( add_query_arg( 'paged', $big, $current_url ) ) ),
120 + 'format' => '?paged=%#%',
121 + 'current' => max( 1, get_query_var('paged') ),
122 + 'total' => $query->max_num_pages,
123 + 'prev_text' => '<i class="arrow_carrot-left"></i>',
124 + 'next_text' => '<i class="arrow_carrot-right"></i>',
125 + 'add_args' => array('tab' => $topic_status === 'publish' ? '' : 'closed')
126 + ));
127 + ?>
128 + </div>
131 129 </div>
132 130 <?php
133 131
134 132 elseif ( in_array('bbp-user-page', get_body_class()) ):