/blog/wp-content/themes/monotone/index.php
PHP | 25 lines | 22 code | 3 blank | 0 comment | 6 complexity | 71c206d628d7d82dffaf9c0e6d462b30 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php get_header(); ?>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
-
- <?php if (is_sticky()) { $sticky++; } else { $regular++; ?>
- <div class="image">
- <div class="nav prev"><?php next_post_link('%link','‹') ?></div>
- <?php the_image(); ?>
- <div class="nav next"><?php previous_post_link('%link','›'); ?></div>
- </div>
- <?php partial('post'); ?>
- <?php } ?>
- <?php endwhile; else : ?>
- <h2>Not Found</h2>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <?php include (TEMPLATEPATH . "/searchform.php"); ?>
- <?php endif; ?>
- <div class="navigation">
- <div class="prev"><?php next_post_link('%link', '&lsaquo' ) ?></div>
- <div class="next"><?php previous_post_link('%link','›') ?></div>
- </div>
- <?php get_footer(); ?>