SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php get_header(); ?> | |
| 2 | ||
| 3 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| 4 | ||
| 5 | <?php include(TEMPLATEPATH.'/includes/entry.php'); ?> | |
| 6 | ||
| 7 | <?php endwhile; ?> | |
| 8 | ||
| 9 | <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
| |
| 10 | else { ?>
| |
| 11 | <?php get_template_part('includes/navigation'); ?>
| |
| 12 | <?php } ?> | |
| 13 | ||
| 14 | <?php else : ?> | |
| 15 | <?php get_template_part('includes/no-results'); ?>
| |
| 16 | <?php endif; ?> | |
| 17 | ||
| 18 | </div> <!-- end #main-area --> | |
| 19 | ||
| 20 | <?php get_sidebar(); ?> | |
| 21 | ||
| 22 | <?php get_footer(); ?> |