So I am having some trouble just showing the posts in one category. Every time I have tried, I get the white screen of death. Here is where I am starting (which shows all categories and I just want to show ONE category). I have no idea what I am doing but like to try to figure these things out.
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(array('post_type' => 'post', 'paged'=>$paged)); if(have_posts()) : while(have_posts()): the_post(); ?>
Any help would be much appreciated.
Thanks in advance!
- The topic ‘Category Template: How Do I Show the Post of Just One Category?’ is closed to new replies.