/blog/wp-content/themes/duotone/index.php
PHP | 23 lines | 20 code | 3 blank | 0 comment | 4 complexity | 20ea749c0bc903ef495750ddfa8b5e31 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(); ?>
- <div class="image">
- <div class="nav prev"><?php next_post_link( '%link','‹'); ?></div>
- <?php image_html(); ?>
- <div class="nav next"><?php previous_post_link( '%link','›'); ?></div>
- </div>
- <?php partial( 'post' ); ?>
- <?php endwhile; else : ?>
- <h2><?php _e( 'Not Found', 'duotone' ); ?></h2>
- <p><?php _e( "Sorry, but you are looking for something that isn't here.", 'duotone' ); ?></p>
- <?php get_search_form(); ?>
- <?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(); ?>