解決方式:
改用 WP_Query!因為 query_posts 問題實在是太多了!
<?php
$args = array('cat' => 5);
//搜尋 category_id = 5 的文章
$category_posts = new WP_Query($args);
if($category_posts->have_posts()) :
while($category_posts->have_posts()) :
$category_posts->the_post();
?>
<?php
$args = array('cat' => 5);
//搜尋 category_id = 5 的文章
$category_posts = new WP_Query($args);
if($category_posts->have_posts()) :
while($category_posts->have_posts()) :
$category_posts->the_post();
?>