View difference between Paste ID: 1iMZzxdM and RK9FYwwS
SHOW: | | - or go back to the newest paste.
1
<?php if(have_posts()) : while(have_posts()) : the_post(); $counter++; // add +1 to count for each post ?>
2
     
3
4
	<div style="float:left;" <?php post_class(); ?> id="post-<?php the_ID(); ?>">
5
6
    <?php if ($counter > 1) : ?>
7
    <div class="blog-thumb"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('featured-post-thumbnail'); ?></a></div>
8
    <?php endif; ?>
9
		<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
10
		<?php if($counter===1) {the_content();} else {the_excerpt();}?>
11
	</div>
12
13
<?php endwhile; ?>
14
15
	<div class="navigation">
16
		<div class="next-posts"><?php next_posts_link(); ?></div>
17
		<div class="prev-posts"><?php previous_posts_link(); ?></div>
18
	</div>
19
20
<?php else : ?>
21
22
	<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
23
		<h1>Not Found</h1>
24
	</div>
25
26
<?php endif; ?>