wordpress에서 특정 게시물을 쿼리하는 쿼리가 있습니다.워드 프레스 : 배열 OUTPUT을 순서대로
<div id="container-">
<?php
query_posts(array('post__in' => array(53,51,46,44,42,40,34,30,28)));
$divname=1;
while (have_posts()) : the_post();
?>
<div id="outdiv<?php echo $divname ?>">
<div id="div<?php echo $divname ?>">
<?php the_content();?>
</div>
</div>
<?php
$divname ++;
endwhile;
?>
</div>
난 포스트 이미지와 텍스트를 포함하는, 출력 소식 53,51,46,44,42,40,34,30,28
가 임의로 출력 때문이다 위해서는 내가 원하는 포스트를 원한다. 제 질문은 가능한가요? 또는 <?php the_content()?>
이 적절한 순서로 게시물을 제공하지 않습니까? 또는 HTML? 도와주세요?
http://codex.wordpress.org/Function_Reference/query_posts –
덕분에 도움이 될 수 있습니다. . – tomexsans