Making WordPress.org


Ignore:
Timestamp:
04/15/2020 05:26:17 AM (5 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/view-templates/theme-single.php

    r9706 r9725  
    1616
    1717            <div>
    18                 <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
     18                <h2 class="theme-name entry-title">{{{ data.name }}}</h2>
    1919                <# if ( data.author.display_name ) { #>
    20                 <h4 class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<a href="{{{ data.path }}}author/{{ data.author.user_nicename }}/"><span class="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>
     20                <div class="theme-author"><?php printf( _x( 'By %s', 'theme author', 'wporg-themes' ), '<a href="{{{ data.path }}}author/{{ data.author.user_nicename }}/"><span class="author">{{{ data.author.display_name }}}</span></a>' ); ?></div>
    2121                <# } #>
    2222
     
    7575                <# if ( data.tags ) { #>
    7676                <div class="theme-tags">
    77                     <h4><?php _e( 'Tags:', 'wporg-themes' ); ?></h4>
     77                    <h3><?php _e( 'Tags:', 'wporg-themes' ); ?></h3>
    7878                    {{{ data.tags }}}
    7979                </div><!-- .theme-tags -->
     
    8181
    8282                <div class="theme-downloads">
    83                     <h4><?php _e( 'Downloads Per Day', 'wporg-themes' ); ?></h4>
     83                    <h3><?php _e( 'Downloads Per Day', 'wporg-themes' ); ?></h3>
    8484                    <div id="theme-download-stats-{{data.id}}" class="chart"></div>
    8585                </div><!-- .theme-downloads -->
     
    8888            <div class="theme-meta">
    8989                <div class="theme-ratings">
    90                     <h4><?php _e( 'Ratings', 'wporg-themes' ); ?></h4>
     90                    <h3><?php _e( 'Ratings', 'wporg-themes' ); ?></h3>
    9191
    9292                    <a class="reviews-link" href="//wordpress.org/support/theme/{{ data.id }}/reviews/"><?php esc_html_e( 'See all', 'wporg-themes' ); ?></a>
     
    127127
    128128                <div class="theme-support">
    129                     <h4><?php _e( 'Support', 'wporg-themes' ); ?></h4>
     129                    <h3><?php _e( 'Support', 'wporg-themes' ); ?></h3>
    130130                    <p><?php _e( 'Got something to say? Need help?', 'wporg-themes' ); ?></p>
    131131                    <a href="//wordpress.org/support/theme/{{ data.slug }}" class="button button-secondary"><?php _e( 'View support forum', 'wporg-themes' ); ?></a>
     
    133133
    134134                <div class="theme-report">
    135                         <h4><?php _e( 'Report', 'wporg-themes' ); ?></h4>
     135                        <h3><?php _e( 'Report', 'wporg-themes' ); ?></h3>
    136136                        <p><?php _e( 'Does this theme have major issues?', 'wporg-themes' ); ?></p>
    137137                        <a rel="nofollow" href="https://make.wordpress.org/themes/report-theme/?rep-name={{ data.current_user }}&rep-theme={{ data.homepage }}&rep-subject=Reported+Theme:+{{ data.name }}" class="button button-secondary"><?php _e( 'Report this theme', 'wporg-themes' ); ?></a>
     
    139139
    140140                <div class="theme-translations">
    141                     <h4><?php _e( 'Translations', 'wporg-themes' ); ?></h4>
     141                    <h3><?php _e( 'Translations', 'wporg-themes' ); ?></h3>
    142142                    <p>
    143143                        <a href="https://translate.wordpress.org/projects/wp-themes/{{ data.slug }}">
     
    148148
    149149                <div class="theme-devs">
    150                     <h4><?php _e( 'Subscribe', 'wporg-themes' ); ?></h4>
     150                    <h3><?php _e( 'Subscribe', 'wporg-themes' ); ?></h3>
    151151                    <ul class="unmarked-list">
    152152                        <li>
     
    158158                    </ul>
    159159
    160                     <h4><?php _e( 'Browse the Code', 'wporg-themes' ); ?></h4>
     160                    <h3><?php _e( 'Browse the Code', 'wporg-themes' ); ?></h3>
    161161                    <ul class="unmarked-list">
    162162                        <li><a href="//themes.trac.wordpress.org/log/{{data.id}}/" rel="nofollow"><?php _e( 'Development Log', 'wporg-themes' ); ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.