PageRenderTime 60ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/public/frontend/wp-content/themes/twentyeleven/single.php

https://bitbucket.org/floppyxyz/musical
PHP | 32 lines | 16 code | 9 blank | 7 comment | 1 complexity | f7eafe15400320cce1dc3ce431c71dd1 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
  1. <?php
  2. /**
  3. * The Template for displaying all single posts.
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Eleven
  7. * @since Twenty Eleven 1.0
  8. */
  9. get_header(); ?>
  10. <div id="primary">
  11. <div id="content" role="main">
  12. <?php while ( have_posts() ) : the_post(); ?>
  13. <nav id="nav-single">
  14. <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
  15. <span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span>
  16. <span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
  17. </nav><!-- #nav-single -->
  18. <?php get_template_part( 'content', 'single' ); ?>
  19. <?php comments_template( '', true ); ?>
  20. <?php endwhile; // end of the loop. ?>
  21. </div><!-- #content -->
  22. </div><!-- #primary -->
  23. <?php get_footer(); ?>