Making WordPress.org


Ignore:
Timestamp:
04/15/2020 05:26:17 AM (6 years ago)
Author:
dd32
Message:

Theme Directory: Use better heading numbers for the Theme Directory.

Props afercia, poena, dufresnesteven, dd32.
Fixes #4113.
See #4110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme-single.php

    r9706 r9725  
    1616
    1717            <div>
    18                 <h3 class="theme-name entry-title"><?php echo esc_html( $theme->name ); ?></h3>
     18                <h1 class="theme-name entry-title"><?php echo esc_html( $theme->name ); ?></h1>
    1919                <?php if ( $theme->author->display_name ) { ?>
    20                 <h4 class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<a href="https://wordpress.org/themes/author/' . $theme->author->user_nicename . '/"><span class="author">' . esc_html( $theme->author->display_name ) . '</span></a>' ); ?></h4>
     20                <span class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<a href="https://wordpress.org/themes/author/' . $theme->author->user_nicename . '/"><span class="author">' . esc_html( $theme->author->display_name ) . '</span></a>' ); ?></span>
    2121                <?php } ?>
    2222
     
    9797                <?php if ( $theme->tags ) { ?>
    9898                <div class="theme-tags">
    99                     <h4><?php _e( 'Tags:', 'wporg-themes' ); ?></h4>
     99                    <h2><?php _e( 'Tags:', 'wporg-themes' ); ?></h2>
    100100                    <?php
    101101                    $tag_links = array();
     
    118118            <div class="theme-meta">
    119119                <div class="theme-ratings">
    120                     <h4><?php _e( 'Ratings', 'wporg-themes' ); ?></h4>
     120                    <h2><?php _e( 'Ratings', 'wporg-themes' ); ?></h2>
    121121
    122122                    <a class="reviews-link" href="//wordpress.org/support/theme/<?php echo $theme->slug; ?>/reviews/"><?php esc_html_e( 'See all', 'wporg-themes' ); ?></a>
     
    159159
    160160                <div class="theme-support">
    161                     <h4><?php _e( 'Support', 'wporg-themes' ); ?></h4>
     161                    <h2><?php _e( 'Support', 'wporg-themes' ); ?></h2>
    162162                    <p><?php _e( 'Got something to say? Need help?', 'wporg-themes' ); ?></p>
    163163                    <a href="//wordpress.org/support/theme/<?php echo $theme->slug; ?>" class="button button-secondary"><?php _e( 'View support forum', 'wporg-themes' ); ?></a>
     
    165165
    166166                <div class="theme-report">
    167                         <h4><?php _e( 'Report', 'wporg-themes' ); ?></h4>
     167                        <h2><?php _e( 'Report', 'wporg-themes' ); ?></h2>
    168168                        <p><?php _e( 'Does this theme have major issues?', 'wporg-themes' ); ?></p>
    169169                        <?php
     
    181181
    182182                <div class="theme-translations">
    183                     <h4><?php _e( 'Translations', 'wporg-themes' ); ?></h4>
     183                    <h2><?php _e( 'Translations', 'wporg-themes' ); ?></h2>
    184184                    <p>
    185185                        <a href="<?php echo esc_url( "https://translate.wordpress.org/projects/wp-themes/{$theme->slug}" ); ?>">
     
    190190
    191191                <div class="theme-devs">
    192                     <h4><?php _e( 'Subscribe', 'wporg-themes' ); ?></h4>
     192                    <h2><?php _e( 'Subscribe', 'wporg-themes' ); ?></h2>
    193193                    <ul class="unmarked-list">
    194194                        <li>
     
    200200                    </ul>
    201201
    202                     <h4><?php _e( 'Browse the Code', 'wporg-themes' ); ?></h4>
     202                    <h2><?php _e( 'Browse the Code', 'wporg-themes' ); ?></h2>
    203203                    <ul class="unmarked-list">
    204204                        <li><a href="//themes.trac.wordpress.org/log/<?php echo $theme->slug; ?>/" rel="nofollow"><?php _e( 'Development Log', 'wporg-themes' ); ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.