I'm reading the codex regarding the loop and while I think I understand the code examples there, I'm having a hard time integrating it with this theme.
Currently I'm using the same loop but I need it to be modified so that it displays 5 posts from each of these categories: featured post, news, deals.
Here is the default code, can someone help me modify it to what I need it to be? TIA.
Code:
<?php /* Post Container starts here */ if ( function_exists('post_class') ) { ?> <?php query_posts('category_name=Deals&showposts=1'); ?> <div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>"> <?php } else { ?> <div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>"> <?php } ?> <?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_headline('<div class="post-headline">','</div>'); ?> <?php bfa_post_byline('<div class="post-byline">','</div>'); ?> <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> <?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?> <?php bfa_post_footer('<div class="post-footer">','</div>'); ?> </div><!-- / Post -->