You appear to be a bot. Output may be restricted
Description
Replaces "[.
..]" (appended to automatically generated excerpts) with … and a Continue reading link.
Usage
$string = twentyfourteen_excerpt_more( $more );
Parameters
- $more
- ( string ) required – Default Read More excerpt link.
Returns
string Filtered Read More excerpt link.
Source
File name: twentyfourteen/inc/template-tags.php
Lines:
1 to 10 of 10
function twentyfourteen_excerpt_more( $more ) { $link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Post title. Only visible to screen readers. */ sprintf( __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' ) ); return ' … ' . $link; }