- Timestamp:
- 10/28/2016 11:15:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r38991 r39000 285 285 * a 'Continue reading' link. 286 286 * 287 * Create your own twentysixteen_excerpt_more() function to override in a child theme.288 *289 287 * @since Twenty Seventeen 1.0 290 288 * 291 289 * @return string 'Continue reading' link prepended with an ellipsis. 292 290 */ 293 function twentyseventeen_excerpt_more() { 291 function twentyseventeen_excerpt_more( $link ) { 292 if ( is_admin() ) { 293 return $link; 294 } 295 294 296 $link = sprintf( '<p class="link-more"><a href="%1$s" class="more-link">%2$s</a></p>', 295 297 esc_url( get_permalink( get_the_ID() ) ),
Note: See TracChangeset
for help on using the changeset viewer.