Hi there.. I'm just starting to learn the php that runs wordpress and have a very basic php question.
Say I have a typical front page. But I want the first 5 posts to show *only* headlines. Then the rest of the posts show normally (headline+post+etc...)
I can make a standard loop with this code:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
1) Where in that code can I specify how many posts to choose?
2) Where in the second code would I say... show posts not including the first 5?
3) What would I do about pagination? ie - I only want those 5 headlines to be on page one?
THANKS!