Changeset 30145 for trunk/src/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 11/01/2014 03:39:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r25868 r30145 391 391 */ 392 392 function twentyeleven_auto_excerpt_more( $more ) { 393 return ' …' . twentyeleven_continue_reading_link(); 393 if ( ! is_admin() ) { 394 return ' …' . twentyeleven_continue_reading_link(); 395 } 396 return $more; 394 397 } 395 398 add_filter( 'excerpt_more', 'twentyeleven_auto_excerpt_more' ); … … 407 410 */ 408 411 function twentyeleven_custom_excerpt_more( $output ) { 409 if ( has_excerpt() && ! is_attachment() ) {412 if ( has_excerpt() && ! is_attachment() && ! is_admin() ) { 410 413 $output .= twentyeleven_continue_reading_link(); 411 414 }
Note: See TracChangeset
for help on using the changeset viewer.