Changeset 1358
- Timestamp:
- 02/28/2015 04:48:44 PM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
r1356 r1358 4 4 ?> 5 5 <div class="theme-wrap"> 6 <div class="theme-about hentry" >6 <div class="theme-about hentry" itemscope itemtype="http://schema.org/CreativeWork"> 7 7 8 8 <?php if ( strtotime( '-2 years' ) > get_post_modified_time() ) : ?> … … 13 13 14 14 <div class="theme-head"> 15 <h3 class="theme-name entry-title" ><?php the_title(); ?></h3>15 <h3 class="theme-name entry-title" itemprop="name"><?php the_title(); ?></h3> 16 16 <h4 class="theme-author"> 17 <?php printf( _x( 'By %s', 'post author', 'wporg-themes' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author" >%s</span></a>', get_the_author_meta( 'login' ), esc_html( get_the_author() ) ) ); ?>17 <?php printf( _x( 'By %s', 'post author', 'wporg-themes' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author" itemprop="author">%s</span></a>', get_the_author_meta( 'login' ), esc_html( get_the_author() ) ) ); ?> 18 18 </h4> 19 19 … … 36 36 <div class="screenshot"><?php the_post_thumbnail( '798' ); ?></div> 37 37 38 <div class="theme-description entry-summary" ><?php the_content(); ?></div>38 <div class="theme-description entry-summary" itemprop="description"><?php the_content(); ?></div> 39 39 40 40 <div class="theme-tags"> … … 102 102 <div class="theme-meta"> 103 103 <div class="theme-ratings" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> 104 <meta itemprop="itemReviewed" content="<?php echo esc_attr( $theme->name ); ?>" />105 104 <meta itemprop="ratingValue" content="<?php echo esc_attr( number_format_i18n( $theme->rating / 20, 1 ) ); ?>"/> 106 105 <meta itemprop="ratingCount" content="<?php echo esc_attr( $theme->num_ratings ); ?>"/> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
r1354 r1358 8 8 </div> 9 9 10 <div class="theme-about hentry" >10 <div class="theme-about hentry" itemscope itemtype="http://schema.org/CreativeWork"> 11 11 <# if ( data.is_outdated ) { #> 12 12 <div class="theme-notice notice notice-warning"> … … 16 16 17 17 <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> 20 20 21 21 <div class="theme-actions"> … … 38 38 <# } #> 39 39 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> 41 41 42 42 <# if ( data.tags ) { #>
Note: See TracChangeset
for help on using the changeset viewer.