PageRenderTime 56ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/duotone/index.php

https://bitbucket.org/sergiohzlz/reportaprod
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
  1. <?php get_header(); ?>
  2. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  3. <div class="image">
  4. <div class="nav prev"><?php next_post_link( '%link','&lsaquo;'); ?></div>
  5. <?php image_html(); ?>
  6. <div class="nav next"><?php previous_post_link( '%link','&rsaquo;'); ?></div>
  7. </div>
  8. <?php partial( 'post' ); ?>
  9. <?php endwhile; else : ?>
  10. <h2><?php _e( 'Not Found', 'duotone' ); ?></h2>
  11. <p><?php _e( "Sorry, but you are looking for something that isn't here.", 'duotone' ); ?></p>
  12. <?php get_search_form(); ?>
  13. <?php endif; ?>
  14. <div class="navigation">
  15. <div class="prev"><?php next_post_link( '%link', '&lsaquo' ); ?></div>
  16. <div class="next"><?php previous_post_link( '%link', '&rsaquo;' ); ?></div>
  17. </div>
  18. <?php get_footer(); ?>