Changeset 30072
- Timestamp:
- 10/28/2014 09:02:02 PM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfifteen
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/author-bio.php
r30046 r30072 25 25 </div><!-- .author-avatar --> 26 26 <div class="author-description"> 27 <h 2 class="author-title"><?php echo get_the_author(); ?></h2>27 <h3 class="author-title"><?php echo get_the_author(); ?></h3> 28 28 <p class="author-bio"> 29 29 <?php the_author_meta( 'description' ); ?> -
trunk/src/wp-content/themes/twentyfifteen/content-link.php
r30046 r30072 15 15 16 16 <header class="entry-header"> 17 <?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); ?> 17 <?php 18 if ( is_single() ) : 19 the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); 20 else : 21 the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' ); 22 endif; 23 ?> 18 24 </header> 19 25 <!-- .entry-header --> -
trunk/src/wp-content/themes/twentyfifteen/content-search.php
r30046 r30072 15 15 16 16 <header class="entry-header"> 17 <?php the_title( sprintf( '<h 1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>17 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 18 18 </header><!-- .entry-header --> 19 19 -
trunk/src/wp-content/themes/twentyfifteen/content.php
r30046 r30072 19 19 the_title( '<h1 class="entry-title">', '</h1>' ); 20 20 else : 21 the_title( sprintf( '<h 1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' );21 the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); 22 22 endif; 23 23 ?> -
trunk/src/wp-content/themes/twentyfifteen/functions.php
r30053 r30072 120 120 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 121 121 'after_widget' => '</aside>', 122 'before_title' => '<h 1class="widget-title">',123 'after_title' => '</h 1>',122 'before_title' => '<h2 class="widget-title">', 123 'after_title' => '</h2>', 124 124 ) ); 125 125 } -
trunk/src/wp-content/themes/twentyfifteen/header.php
r30046 r30072 30 30 <header id="masthead" class="site-header" role="banner"> 31 31 <div class="site-branding"> 32 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 33 <p class="site-description"><?php bloginfo( 'description' ); ?></p> 32 <?php 33 if ( is_front_page() && is_home() ) : ?> 34 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 35 <?php else : ?> 36 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> 37 <?php endif; 38 39 $description = get_bloginfo( 'description', 'display' ); 40 if ( ! empty( $description ) ) : ?> 41 <p class="site-description"><?php echo esc_html( $description ); ?></p> 42 <?php endif; 43 ?> 34 44 <button class="secondary-toggle"><?php esc_html_e( 'Menu and widgets', 'twentyfifteen' ); ?></button> 35 45 </div><!-- .site-branding --> -
trunk/src/wp-content/themes/twentyfifteen/inc/template-tags.php
r30046 r30072 35 35 ?> 36 36 <nav class="navigation pagination" role="navigation"> 37 <h 1 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h1>37 <h2 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h2> 38 38 <div class="nav-links"> 39 39 <?php echo $links; ?> … … 72 72 ?> 73 73 <nav class="navigation post-navigation" role="navigation"> 74 <h 1 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'twentyfifteen' ); ?></h1>74 <h2 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'twentyfifteen' ); ?></h2> 75 75 <div class="nav-links"> 76 76 <?php … … 99 99 ?> 100 100 <nav class="navigation comment-navigation" role="navigation"> 101 <h 1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'twentyfifteen' ); ?></h1>101 <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'twentyfifteen' ); ?></h2> 102 102 <div class="nav-links"> 103 103 <?php -
trunk/src/wp-content/themes/twentyfifteen/index.php
r30046 r30072 22 22 23 23 <?php if ( have_posts() ) : ?> 24 25 <?php if ( is_home() && ! is_front_page() ) : ?> 26 <header> 27 <h1 class="page-title screen-reader-text"><?php echo esc_html( get_the_title( get_option( 'page_for_posts' ) ) ); ?></h1> 28 </header> 29 <?php endif; ?> 24 30 25 31 <?php while ( have_posts() ) : the_post(); ?> -
trunk/src/wp-content/themes/twentyfifteen/style.css
r30053 r30072 1285 1285 font-size: 22px; 1286 1286 font-size: 2.2rem; 1287 font-weight: 700; 1287 1288 line-height: 1.3636; 1289 margin-bottom: 0; 1288 1290 } 1289 1291
Note: See TracChangeset
for help on using the changeset viewer.