Changeset 1354
- Timestamp:
- 02/28/2015 01:39:08 AM (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
r1348 r1354 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 ); ?>" /> 104 105 <meta itemprop="ratingValue" content="<?php echo esc_attr( number_format_i18n( $theme->rating / 20, 1 ) ); ?>"/> 105 106 <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
r1348 r1354 56 56 <div class="theme-meta"> 57 57 <div class="theme-ratings" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> 58 <meta itemprop="itemReviewed" content="{{ data.name }}" /> 58 59 <meta itemprop="ratingValue" content="{{ (data.rating/20).toFixed(1) }}"/> 59 60 <meta itemprop="ratingCount" content="{{ data.num_ratings }}"/>
Note: See TracChangeset
for help on using the changeset viewer.