Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div <?php $first = ($wp_query->current_post%4==0)?'first':''; post_class(array('column',$first)) ?> id="post-<?php the_ID(); ?>">
- <div class="body">
- <?php the_content('Continue Reading'); ?>
- </div>
- <h4><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h4>
- </div>
- <?php endwhile; ?>
- <?php if(function_exists('wp_pagenavi')) : wp_pagenavi(); else : ?>
- <div class="paging">
- <div class="prev"><?php next_posts_link('Previous Posts') ?></div>
- <div class="next"> <?php previous_posts_link('Next Posts') ?></div>
- </div>
- <?php endif; ?>
- <?php endif; ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement