-1
특정 카테고리에 대한 내 사이드 바에서 게시물 순서를 뒤집어 쓰려고합니다. 그러나 나는 그것을 작동시키지 않습니다.특정 카테고리의 역순 엽서
<?php query_posts('showposts=8&cat=5$query_string . "&order=ASC"'); if (have_posts()) : ?>
<li id="senasteNytt">
<?php while (have_posts()) : the_post(); ?>
<h3 class="widget-title"><?php the_title(); ?></h3>
<div class="sidbarContent"><?php the_content(); ?></div>
<li>
<?php endwhile; ?>
</li>
<?php endif; wp_reset_query();?>
</ul>
<div class="clear"></div>
이 코드의 출력은 무엇인가? 어떤 방법으로 작동하지 않습니까? – RST
코드가 순서를 역으로하지 않습니다 ... 문제가 있습니다. –