Last active
August 29, 2015 14:14
-
-
Save jocastaneda/1518a0f70cfdbeee1cae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( is_search() || is_front_page() ) : ?> | |
<div class="entry-summary"> | |
<?php the_excerpt(); ?> | |
</div><!-- .entry-summary --> | |
<?php else : ?> | |
<div class="entry-content"> | |
<?php | |
/* translators: %s: Name of current post */ | |
the_content( sprintf( | |
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), | |
the_title( '<span class="screen-reader-text">', '</span>', false ) | |
) ); | |
wp_link_pages( array( | |
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>', | |
'after' => '</div>', | |
'link_before' => '<span>', | |
'link_after' => '</span>', | |
) ); | |
?> | |
</div><!-- .entry-content --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment