WordPress.org

Make WordPress Core

Changeset 18335


Ignore:
Timestamp:
06/23/2011 11:03:46 PM (8 years ago)
Author:
azaozz
Message:

TwentyEleven Theme H1 Priority, props iandstewart, fixes #17611

Location:
trunk/wp-content/themes/twentyeleven
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-aside.php

    r18312 r18335  
    1414        <header class="entry-header">
    1515            <hgroup>
    16                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    17                 <h2 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h2>
     16                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     17                <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3>
    1818            </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-featured.php

    r18312 r18335  
    1212<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>>
    1313    <header class="entry-header">
    14         <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
     14        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1515
    1616        <div class="entry-meta">
  • trunk/wp-content/themes/twentyeleven/content-gallery.php

    r18312 r18335  
    1414    <header class="entry-header">
    1515        <hgroup>
    16             <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    17             <h2 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h2>
     16            <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     17            <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3>
    1818        </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-image.php

    r18312 r18335  
    1313        <header class="entry-header">
    1414            <hgroup>
    15                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    16                 <h2 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h2>
     15                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
    1717            </hgroup>
    1818
  • trunk/wp-content/themes/twentyeleven/content-intro.php

    r18312 r18335  
    1111<article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
    1212    <header class="entry-header">
    13         <h1 class="entry-title"><?php the_title(); ?></h1>
     13        <h2 class="entry-title"><?php the_title(); ?></h2>
    1414    </header><!-- .entry-header -->
    1515
  • trunk/wp-content/themes/twentyeleven/content-link.php

    r18312 r18335  
    1414        <header class="entry-header">
    1515            <hgroup>
    16                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    17                 <h2 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h2>
     16                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     17                <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3>
    1818            </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-quote.php

    r18312 r18335  
    1212        <header class="entry-header">
    1313            <hgroup>
    14                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    15                 <h2 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h2>
     14                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     15                <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3>
    1616            </hgroup>
    1717
  • trunk/wp-content/themes/twentyeleven/content-status.php

    r18312 r18335  
    1313        <header class="entry-header">
    1414            <hgroup>
    15                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    16                 <h2 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h2>
     15                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3>
    1717            </hgroup>
    1818
  • trunk/wp-content/themes/twentyeleven/content.php

    r18312 r18335  
    1313            <?php if ( is_sticky() ) : ?>
    1414                <hgroup>
    15                     <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    16                     <h2 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h2>
     15                    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                    <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
    1717                </hgroup>
    1818            <?php else : ?>
  • trunk/wp-content/themes/twentyeleven/functions.php

    r18325 r18335  
    376376        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    377377        'after_widget' => "</aside>",
    378         'before_title' => '<h1 class="widget-title">',
    379         'after_title' => '</h1>',
     378        'before_title' => '<h3 class="widget-title">',
     379        'after_title' => '</h3>',
    380380    ) );
    381381
     
    386386        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    387387        'after_widget' => "</aside>",
    388         'before_title' => '<h1 class="widget-title">',
    389         'after_title' => '</h1>',
     388        'before_title' => '<h3 class="widget-title">',
     389        'after_title' => '</h3>',
    390390    ) );
    391391
     
    396396        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    397397        'after_widget' => "</aside>",
    398         'before_title' => '<h1 class="widget-title">',
    399         'after_title' => '</h1>',
     398        'before_title' => '<h3 class="widget-title">',
     399        'after_title' => '</h3>',
    400400    ) );
    401401
     
    406406        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    407407        'after_widget' => "</aside>",
    408         'before_title' => '<h1 class="widget-title">',
    409         'after_title' => '</h1>',
     408        'before_title' => '<h3 class="widget-title">',
     409        'after_title' => '</h3>',
    410410    ) );
    411411
     
    416416        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    417417        'after_widget' => "</aside>",
    418         'before_title' => '<h1 class="widget-title">',
    419         'after_title' => '</h1>',
     418        'before_title' => '<h3 class="widget-title">',
     419        'after_title' => '</h3>',
    420420    ) );
    421421}
     
    430430    if ( $wp_query->max_num_pages > 1 ) : ?>
    431431        <nav id="<?php echo $nav_id; ?>">
    432             <h1 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h1>
     432            <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
    433433            <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyeleven' ) ); ?></div>
    434434            <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></div>
  • trunk/wp-content/themes/twentyeleven/header.php

    r18244 r18335  
    111111
    112112            <nav id="access" role="navigation">
    113                 <h1 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h1>
     113                <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
    114114                <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
    115115                <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
  • trunk/wp-content/themes/twentyeleven/image.php

    r18312 r18335  
    1616
    1717            <nav id="nav-single">
     18                <h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3>
    1819                <span class="nav-previous"><?php previous_image_link( false, __( '&larr; Previous' , 'twentyeleven' ) ); ?></span>
    1920                <span class="nav-next"><?php next_image_link( false, __( 'Next &rarr;' , 'twentyeleven' ) ); ?></span>
  • trunk/wp-content/themes/twentyeleven/showcase.php

    r18276 r18335  
    209209
    210210                        <?php
    211                         the_widget( 'Twenty_Eleven_Ephemera_Widget', '', 'before_title=<h1 class="widget-title">&after_title=</h1>' );
     211                        the_widget( 'Twenty_Eleven_Ephemera_Widget', '', 'before_title=<h3 class="widget-title">&after_title=</h3>' );
    212212                        ?>
    213213
  • trunk/wp-content/themes/twentyeleven/sidebar.php

    r18072 r18335  
    1717
    1818                <aside id="archives" class="widget">
    19                     <h1 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h1>
     19                    <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
    2020                    <ul>
    2121                        <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
     
    2424
    2525                <aside id="meta" class="widget">
    26                     <h1 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h1>
     26                    <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
    2727                    <ul>
    2828                        <?php wp_register(); ?>
  • trunk/wp-content/themes/twentyeleven/single.php

    r18253 r18335  
    1616
    1717                    <nav id="nav-single">
    18                         <h1 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h1>
     18                        <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
    1919                        <span class="nav-previous"><?php previous_post_link( '%link', __( '&larr; Previous', 'twentyeleven' ) ); ?></span>
    2020                        <span class="nav-next"><?php next_post_link( '%link', __( 'Next &rarr;', 'twentyeleven' ) ); ?></span>
     
    2222
    2323                    <?php get_template_part( 'content', 'single' ); ?>
    24 
    25                     <?php twentyeleven_content_nav( 'nav-below' ); ?>
    2624
    2725                    <?php comments_template( '', true ); ?>
Note: See TracChangeset for help on using the changeset viewer.