fix: meta 区日期在上,评论观看数在下(两行布局)

This commit is contained in:
2026-05-17 10:49:46 +08:00
parent c7f731e673
commit 0bdbfc7906
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -35,8 +35,10 @@ $total_pages = ceil($total / $per_page);
</div>
<div class="article-item__meta">
<span class="article-item__date"><?php echo get_the_date('Y-m-d'); ?></span>
<span class="article-item__comments">💬 <?php echo (int) get_comments_number(); ?></span>
<span class="article-item__views">👁 <?php echo (int) kjweji_get_views(); ?></span>
<div class="article-item__stats">
<span class="article-item__comments">💬 <?php echo (int) get_comments_number(); ?></span>
<span class="article-item__views">👁 <?php echo (int) kjweji_get_views(); ?></span>
</div>
</div>
</a>
<?php endwhile; ?>