Hi,
I am sure this has been explained many times but I am getting lost trying to find an answer.
I set up a new site with a heavily modified index to allow for me to only show posts from one category. The basic framework of my index is:
<?php get_header(); ?>
<?php global $more; $more = 0; ?>
<?php $portfolio_cat = "3"; $portfolio_num = "14"; ?>
<?php query_posts('showposts='.$portfolio_num.'&cat='.$portfolio_cat.'');
while (have_posts()) : the_post();
?>
<div class="titlebox"> <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a></h2></div>
<?php the_content('read more'); ?>
<?php endwhile; ?>
<?php get_sidebar(); ?>
This is serving as my portfolio page. I also want to have a page that shows my posts from every other category.
I understand how to exclude categories but I am confused by the page structure. I am already using the About page... and if I make another page it only serves as a template.
What I am asking is how could I make a page, say blog.php, that shows the excerpts of my posts from all of the categories except the exluded one that is a part of the index.php.
I would really appreciate any advice and perhaps a better way to achieve this.