Changeset 1358 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
- Timestamp:
- 02/28/2015 04:48:44 PM (10 years ago)
- File:
-
- 1 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 ); ?>"/>
Note: See TracChangeset
for help on using the changeset viewer.