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

git-svn-id: http://core.svn.wordpress.org/trunk@24331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-05-23 17:05:26 +00:00
parent 4a57b437d9
commit 302e0912a3

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 : ?>