Ticket #13361: excerpt-attachment-check.diff
| File excerpt-attachment-check.diff, 442 bytes (added by iandstewart, 3 years ago) |
|---|
-
functions.php
282 282 * @return string Excerpt with a pretty "Continue Reading" link 283 283 */ 284 284 function twentyten_custom_excerpt_more( $output ) { 285 if ( has_excerpt() ) {285 if ( has_excerpt() && ! is_attachment() ) { 286 286 $output .= twentyten_continue_reading_link(); 287 287 } 288 288 return $output;
