Twenty Thirteen: Add missing loop in the image attachment template.
Props vtieu. Fixes #35110. git-svn-id: https://develop.svn.wordpress.org/trunk@36136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b62421681e
commit
7ce16f660e
@ -13,6 +13,12 @@ get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) : the_post();
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'image-attachment' ); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
@ -76,6 +82,8 @@ get_header(); ?>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; // End the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user