Changeset 13846
- Timestamp:
- 03/27/2010 09:50:39 PM (16 years ago)
- Location:
- trunk/wp-content/themes/twentyten
- Files:
-
- 2 edited
-
header.php (modified) (1 diff)
-
page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r13836 r13846 31 31 <div id="masthead"> 32 32 <div id="branding"> 33 <div id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div> 33 <?php if ( is_home() || is_front_page() ) { ?> 34 <h1 id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> 35 <?php } else { ?> 36 <div id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div> 37 <?php } ?> 38 34 39 <div id="site-description"><?php bloginfo( 'description' ); ?></div> 35 40 -
trunk/wp-content/themes/twentyten/page.php
r13818 r13846 7 7 8 8 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 9 <h1 class="entry-title"><?php the_title(); ?></h1> 9 <?php if ( is_front_page() ) { ?> 10 <h2 class="entry-title"><?php the_title(); ?></h2> 11 <?php } else { ?> 12 <h1 class="entry-title"><?php the_title(); ?></h1> 13 <?php } ?> 14 10 15 <div class="entry-content"> 11 16 <?php the_content(); ?>
Note: See TracChangeset
for help on using the changeset viewer.