View Single Post
  #1  
Old 06-22-2009, 10:40 AM
vvillanova vvillanova is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2008
Posts: 7
Default Blog Page Template Restrictions

I just launched a new website for my dodgeball league in NYC (bigappledodgeball.com) using the Metro Theme, and it looks fab.

Here's the issue...
When I create a page and apply the standard Blog Page Template, it will only grab posts that are categorized as "News."

What I'd like:
1. A page where all posts, regardless of category, are posted.
2. A page where only posts categorized a different way are posted.

I suspect the issue to be in these lines of code (lines 15 and 17 in the file page_blog.php). I've played around and tried a few different things, but I can't seem to figure it out.

<?php $blog_cat_1 = get_option('metro_blog_cat_1'); $blog_cat_1_num = get_option('metro_blog_cat_1_num'); if(!$blog_cat_1) $blog_cat_1 = 1; //setting a default ?>

<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=".$blog_cat_1."&showposts=".$blog _cat_1_num."&paged=$page"); while ( have_posts() ) : the_post() ?>

Thanks!