Google의 데이터베이스가 이상해졌습니다. 이러한 세 가지 쿼리를 연속적으로 사용하는 것이 가능한 문제입니까?자료 검색어 :
<ul>
<?php
query_posts(array('category__in'=>38082, 'order-by'=>'post_date','order'=>'DESC','posts_per_page'=>'5'));
while (have_posts()) : the_post();
?>
<li><a href="<?php the_permalink(); ?>"><?php echo the_title()?></a></li>
<?php endwhile; ?>
<?php wp_reset_query();?>
</ul>
<ul>
<?php
query_posts(array('category__in'=>1, 'order-by'=>'post_date','order'=>'DESC','posts_per_page'=>'5'));
while (have_posts()) : the_post();
?>
<li><a href="<?php the_permalink(); ?>"><?php echo the_title()?></a></li>
<?php endwhile; ?>
<?php wp_reset_query();?>
</ul>
<ul>
<?php
query_posts(array('category__in'=>15, 'order-by'=>'post_date','order'=>'DESC','posts_per_page'=>'5'));
while (have_posts()) : the_post();
?>
<li><a href="<?php the_permalink(); ?>"><?php echo the_title()?></a></li>
<?php endwhile; ?>
<?php wp_reset_query();?>
</ul>
* 데이터베이스에 대한 자세한 내용을 알려주시겠습니까 *? – Tchoupi
데이터베이스에 몇 개의 게시물이 있습니까? –
30K + 기사. while 루프가 무한대로 진행되는 것처럼 서버로드가 계속 진행되었습니다. – ok1ha