Removing the closing tag should fix layout problem
-
Please fix additional </span> tag which is not necessary.
This was breaking theme layout.
see</span> votes </span>
all-in-one-schemaorg-rich-snippets/functions.php line 467
$product .= '<div class="snippet-data-img">'; $product .= '<span itemprop="ratingValue">'.average_rating().'</span>'; $product .= ' based on <span class="rating-count" itemprop="reviewCount">'.rating_count().'</span> votes </span></div></div><div class="snippet-clear"></div>';
all-in-one-schemaorg-rich-snippets/functions.php line 679
$software .= '<div class="aggregate_sec" itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">'; $software .= '<div class="snippet-label-img">'.esc_attr( stripslashes( $args_soft['software_agr'] ) ).'</div>'; $software .= '<div class="snippet-data-img">'; $software .= '<span itemprop="ratingValue">'.average_rating().'</span>'; $software .= ' based on <span class="rating-count" itemprop="reviewCount">'.rating_count().'</span> votes </span></div></div><div class="snippet-clear"></div>';
all-in-one-schemaorg-rich-snippets/functions.php line 974
$service .= '<div class="aggregate_sec" itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">'; $service .= '<div class="snippet-label-img">'.esc_attr( stripslashes( $args_service['service_rating'] ) ).'</div>'; $service .= '<div class="snippet-data-img">'; $service .= '<span itemprop="ratingValue">'.average_rating().'</span>'; $service .= ' based on <span class="rating-count" itemprop="reviewCount">'.rating_count().'</span> votes </span></div></div><div class="snippet-clear"></div>';
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Removing the closing tag should fix layout problem’ is closed to new replies.