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:
parent
fa1dd818d1
commit
61ccbd34da
|
@ -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">→</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 : ?>
|
||||
|
|
Loading…
Reference in New Issue