The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
< ? php
/**
* The Template for displaying all single posts .
*
* @ package WordPress
* @ subpackage Twenty_Twelve
* @ since Twenty Twelve 1.0
*/
get_header (); ?>
2012-08-02 21:12:11 +02:00
< div id = " primary " class = " site-content " >
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
< div id = " content " role = " main " >
< ? php while ( have_posts () ) : the_post (); ?>
< ? php get_template_part ( 'content' , get_post_format () ); ?>
2012-08-02 21:12:11 +02:00
< nav class = " nav-single " >
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
< h3 class = " assistive-text " >< ? php _e ( 'Post navigation' , 'twentytwelve' ); ?> </h3>
2012-09-27 05:47:21 +02:00
< span class = " nav-previous " >< ? php previous_post_link ( '%link' , '<span class="meta-nav">' . _x ( '←' , 'Previous post link' , 'twentytwelve' ) . '</span> %title' ); ?> </span>
< span class = " nav-next " >< ? php next_post_link ( '%link' , '%title <span class="meta-nav">' . _x ( '→' , 'Next post link' , 'twentytwelve' ) . '</span>' ); ?> </span>
2012-08-02 21:12:11 +02:00
</ nav ><!-- . nav - single -->
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
< ? php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open () || '0' != get_comments_number () )
comments_template ( '' , true );
?>
< ? php endwhile ; // end of the loop. ?>
</ div ><!-- #content -->
2012-08-25 19:16:56 +02:00
</ div ><!-- #primary -->
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
< ? php get_sidebar (); ?>
< ? php get_footer (); ?>