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/twentyeleven/functions.php

    r24001 r24050  
    318318            $style = ' style="display:none"';
    319319        ?>
    320         <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    321         <div id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div>
     320        <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>
     321        <div id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div>
    322322        <?php if ( $image ) : ?>
    323323            <img src="<?php echo esc_url( $image ); ?>" alt="" />
Note: See TracChangeset for help on using the changeset viewer.