Make WordPress Core


Ignore:
Timestamp:
04/22/2013 07:40:28 PM (13 years ago)
Author:
nacin
Message:

Add .displaying-header-text to the default themes, as the Custom Header page toggles this class. props obenland, fixes #24113.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/inc/custom-header.php

    r24016 r24050  
    156156                        $style = ' style="color:#' . get_header_textcolor() . ';"';
    157157                ?>
    158                 <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    159                 <h2 id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
     158                <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
     159                <h2 id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
    160160                <?php $header_image = get_header_image();
    161161                if ( ! empty( $header_image ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.