feat(forum): rebuild forum home page
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
51d5b8a2a1
commit
024ecddfed
16 files changed
+1061
-198
No files matched your search
+3
-3
@@ -132,12 +132,12 @@ if (is_active_sidebar('all_top_fluid') || is_active_sidebar('search_top_fluid'))
|
||||
}
|
||||
?>
|
||||
<?php elseif ($search_type === 'forum' && $wp_query->have_posts()) : ?>
|
||||
<div id="forum" class="jio-forum"><div class="jio-forum__list">
|
||||
<?php while ($wp_query->have_posts()) : $wp_query->the_post(); \Jio\Forum\View::post_card(get_post()); endwhile; wp_reset_postdata(); ?>
|
||||
<div id="forum" class="jio-forum forum-search"><div class="jio-forum__list">
|
||||
<?php \Jio\Forum\Cards::prime($wp_query->posts); while ($wp_query->have_posts()) : $wp_query->the_post(); \Jio\Forum\View::post_card(get_post()); endwhile; wp_reset_postdata(); ?>
|
||||
</div></div>
|
||||
<?php jio_render_pagination($wp_query); ?>
|
||||
<?php elseif ($search_type === 'plate' && $wp_query->have_posts()) : ?>
|
||||
<div id="forum" class="jio-forum"><div class="jio-forum__plates">
|
||||
<div id="forum" class="jio-forum forum-search"><div class="plate-lists">
|
||||
<?php while ($wp_query->have_posts()) : $wp_query->the_post(); \Jio\Forum\View::plate_card(get_post()); endwhile; wp_reset_postdata(); ?>
|
||||
</div></div>
|
||||
<?php jio_render_pagination($wp_query); ?>
|
||||
|
||||
Reference in new issue
Block a user