Twenty Thirteen: handle case for gallery post formats if there is no gallery shortcode in the post. Props obenland, fixes #24391.

git-svn-id: https://develop.svn.wordpress.org/trunk@24331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-05-23 17:05:26 +00:00
parent fa1dd818d1
commit 61ccbd34da
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
</header><!-- .entry-header -->
<div class="entry-content">
<?php if ( is_single() ) : ?>
<?php if ( is_single() || ! get_post_gallery() ) : ?>
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
<?php else : ?>