Let me display 10 articles from "featured" category. Just the first must have title and excerpt, the relaxation 9 only game titles. How'd I actually do that?
Thank you for the help.
When you're looping with the posts, just see if current
$post informed is the first within the return in the
<?php $featured = get_posts('numberposts=10&category_name=featured'); // Your original query foreach($featured as $post): $first = ($post == $featured); setup_postdata( $post ); if($first): ?> <div class="post main-featured"> <h2><?php the_title(); ?></h2> <p><?php the_excerpt(); ?></p> </div> <?php else: ?> <div class="post featured"> <h2><?php the_title(); ?></h2> </div> <?php endif; endforeach; ?>