Making WordPress.org


Ignore:
Timestamp:
05/27/2020 01:44:38 AM (6 years ago)
Author:
dufresnesteven
Message:

Showcase: Improve heading structure.

See: #4112

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php

    r7416 r9933  
    1414?>
    1515<div id="pagebody" class="home">
     16        <h2 class="screen-reader-text"><?php _e( 'Featured Sites', 'wporg-showcase' ); ?></h2>
    1617        <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 9, 'post_status' => 'publish' ) ); ?>
    1718        <?php if ( have_posts() ) : ?>
    … …  
    6970                        <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 3, 'tag' => 'business', 'orderby' => 'rand' ) ); ?>
    7071                        <?php if ( have_posts() ) : ?>
    71                         <h3><?php _e( 'Featured Business Sites', 'wporg-showcase' ); ?></h3>
     72                        <h2><?php _e( 'Featured Business Sites', 'wporg-showcase' ); ?></h2>
    7273                        <ul class="wpsc-recent">
    7374
    … …  
    7879                                                        <?php site_screenshot_tag( 215 ); ?>
    7980                                                </a>
    80                                                 <h5><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h5>
     81                                                <h3><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    8182                                                <?php
    8283                                                        the_content_limit( 90 );
    … …  
    9293                        <?php if ( have_posts() ) : ?>
    9394
    94                         <h3><?php _e( 'Recently Added Sites', 'wporg-showcase' ); ?></h3>
     95                        <h2><?php _e( 'Recently Added Sites', 'wporg-showcase' ); ?></h2>
    9596                        <ul class="wpsc-recent">
    9697
    … …  
    101102                                                <?php site_screenshot_tag( 215 ); ?>
    102103                                        </a>
    103                                         <h5><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h5>
     104                                        <h3><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    104105                                        <?php
    105106                                                the_tags( '<ul class="wpsc-tags"><li>', '</li><li>', '</li></ul>' );
Note: See TracChangeset for help on using the changeset viewer.