~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-content/themes/twentytwelve/single.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/**
3
 
 * The Template for displaying all single posts
4
 
 *
5
 
 * @package WordPress
6
 
 * @subpackage Twenty_Twelve
7
 
 * @since Twenty Twelve 1.0
8
 
 */
9
 
 
10
 
get_header(); ?>
11
 
 
12
 
        <div id="primary" class="site-content">
13
 
                <div id="content" role="main">
14
 
 
15
 
                        <?php while ( have_posts() ) : the_post(); ?>
16
 
 
17
 
                                <?php get_template_part( 'content', get_post_format() ); ?>
18
 
 
19
 
                                <nav class="nav-single">
20
 
                                        <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
21
 
                                        <span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span>
22
 
                                        <span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span>
23
 
                                </nav><!-- .nav-single -->
24
 
 
25
 
                                <?php comments_template( '', true ); ?>
26
 
 
27
 
                        <?php endwhile; // end of the loop. ?>
28
 
 
29
 
                </div><!-- #content -->
30
 
        </div><!-- #primary -->
31
 
 
32
 
<?php get_sidebar(); ?>
33
 
<?php get_footer(); ?>
 
 
b'\\ No newline at end of file'