Make WordPress Core

Changeset 15120


Ignore:
Timestamp:
06/02/2010 10:41:14 PM (16 years ago)
Author:
nacin
Message:

Don't show 'Continue reading' in Twenty Ten on attachment pages. props iandstewart, fixes #13361.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r15040 r15120  
    283283 */
    284284function twentyten_custom_excerpt_more( $output ) {
    285         if ( has_excerpt() ) {
     285        if ( has_excerpt() && ! is_attachment() ) {
    286286                $output .= twentyten_continue_reading_link();
    287287        }
Note: See TracChangeset for help on using the changeset viewer.