Making WordPress.org


Ignore:
Timestamp:
07/09/2021 12:35:26 AM (3 years ago)
Author:
coreymckrill
Message:

Main theme: Change semantics of some containers on the Download page

The Download page has info about the mobile apps and hosting for WordPress.
These are in section container elements, which might be the reason that Google
is using the content of the hosting container for its search result snippet,
instead of the meta description tag. By changing these containers to aside
elements, hopefully Google will get the message that they don't contain the
most pertinent information for that page.

props dd32, coreymckrill

File:
1 edited

Legend:

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

    r10562 r11108  
    147147                </p>
    148148
    149                 <section id="mobile" class="apps-mobile">
     149                <aside id="mobile" class="apps-mobile">
    150150                    <span class="dashicons dashicons-smartphone"></span>
    151151                    <h2><?php esc_html_e( 'Inspiration strikes anywhere, anytime', 'wporg' ); ?></h2>
     
    161161                    </div>
    162162                    <a href="https://apps.wordpress.com/mobile/" class="call-to-action"><?php esc_html_e( 'Learn more about our mobile apps', 'wporg' ); ?></a>
    163                 </section>
    164 
    165                 <section id="hosting" class="hosting row gutters between">
     163                </aside>
     164
     165                <aside id="hosting" class="hosting row gutters between">
    166166                    <div class="parallelogram"></div>
    167167                    <span class="dashicons dashicons-cloud"></span>
     
    188188
    189189                    <a href="https://wordpress.org/hosting/" class="call-to-action col-12"><?php esc_html_e( 'See all of our recommended hosts', 'wporg' ); ?></a>
    190                 </section>
     190                </aside>
    191191
    192192                <section id="download-install" class="download row gutters between">
Note: See TracChangeset for help on using the changeset viewer.