Salut,
Poti face asa:
Cod PHP:
<?php
query_posts('cat=42');
while (have_posts()) : the_post();
the_content();
endwhile;
?>
Modifici la query_posts('cat=42'); numarul 42 cu id-ul categoriei tale si iti arata tot continutul postului.
sau
Cod PHP:
<?php query_posts('cat=42&showposts=5'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
<?php the_excerpt() ?>
</li>
<?php endwhile; endif; ?
Asa NU iti arata tot continutul postului din categoria respectiva, si ai posibilitatea de a afisa cate articole vrei din categoria respectiva (acolo este 5 {showposts=5}).