Making WordPress.org


Ignore:
Timestamp:
02/28/2015 04:48:44 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Proper schema.org markup for themes.

Props nataliemac.
See r1354.

File:
1 edited

Legend:

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

    r1354 r1358  
    88        </div>
    99
    10         <div class="theme-about hentry">
     10        <div class="theme-about hentry" itemscope itemtype="http://schema.org/CreativeWork">
    1111            <# if ( data.is_outdated ) { #>
    1212            <div class="theme-notice notice notice-warning">
     
    1616
    1717            <div class="theme-head">
    18                 <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
    19                 <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="https://profiles.wordpress.org/{{ data.author.user_nicename }}"><span class="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>
     18                <h3 class="theme-name entry-title" itemprop="name">{{{ data.name }}}</h3>
     19                <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="https://profiles.wordpress.org/{{ data.author.user_nicename }}"><span class="author" itemprop="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>
    2020
    2121                <div class="theme-actions">
     
    3838                <# } #>
    3939
    40                 <div class="theme-description entry-summary"><p>{{{ data.description }}}</p></div>
     40                <div class="theme-description entry-summary" itemprop="description"><p>{{{ data.description }}}</p></div>
    4141
    4242                <# if ( data.tags ) { #>
Note: See TracChangeset for help on using the changeset viewer.