I am running with “New Balance of Blue 1.5 by Brandon Cox” The theme is exactly what I am looking for with 1 exception. I do not want to display all posts on the front page. I tried a simple fix by creatin an index.htm and refresh to the page with the right category but it causes loops.
When I look at the code I find this
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
I tried to change to
query_posts("showposts=1&category_name=Headline"but when I did I only ended up with the exact same post on every page. Can anyone point me in the right direction?
- The topic ‘Trying to only show 1 category on main page’ is closed to new replies.