Ticket #30065: 30065.4.patch
File 30065.4.patch, 7.3 KB (added by , 10 years ago) |
---|
-
wp-content/themes/twentyfifteen/author-bio.php
24 24 ?> 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' ); ?> 30 30 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> -
wp-content/themes/twentyfifteen/content-link.php
14 14 <?php twentyfifteen_post_thumbnail(); ?> 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 --> 20 26 -
wp-content/themes/twentyfifteen/content-search.php
14 14 <?php twentyfifteen_post_thumbnail(); ?> 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 20 20 <div class="entry-summary"> -
wp-content/themes/twentyfifteen/content.php
18 18 if ( is_single() ) : 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 ?> 24 24 </header><!-- .entry-header --> -
wp-content/themes/twentyfifteen/functions.php
119 119 'description' => __( 'Add widgets here to appear in your sidebar.', 'twentyfifteen' ), 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 } 126 126 add_action( 'widgets_init', 'twentyfifteen_widgets_init' ); -
wp-content/themes/twentyfifteen/header.php
29 29 <div id="sidebar" class="sidebar"> 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 --> 36 46 </header><!-- .site-header --> -
wp-content/themes/twentyfifteen/inc/template-tags.php
34 34 if ( $links ) : 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; ?> 40 40 </div><!-- .nav-links --> … … 71 71 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 77 77 if ( is_attachment() ) : … … 98 98 if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : 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 104 104 if ( $prev_link = get_previous_comments_link( esc_html__( 'Older Comments', 'twentyfifteen' ) ) ) : -
wp-content/themes/twentyfifteen/index.php
22 22 23 23 <?php if ( have_posts() ) : ?> 24 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; ?> 30 25 31 <?php while ( have_posts() ) : the_post(); ?> 26 32 27 33 <?php -
wp-content/themes/twentyfifteen/style.css
1288 1288 font-family: "Noto Sans", sans-serif; 1289 1289 font-size: 22px; 1290 1290 font-size: 2.2rem; 1291 font-weight: 700; 1291 1292 line-height: 1.3636; 1293 margin-bottom: 0; 1292 1294 } 1293 1295 1294 1296 .site-description {