mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
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:
parent
4a57b437d9
commit
302e0912a3
@ -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
Block a user