SDTT выдает ошибку «В обзоре не указан ни один проверенный элемент», но я использую свойство itemReviewed - PullRequest
0 голосов
/ 01 ноября 2018

Я пробовал itemReviewed в разных тегах, но он не работает, и все еще показывает ошибку:

В обзоре не указано ни одного товара.

https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fasphaltthemes.com скан.

<!-- testimonial start-->
<section class="new_new_testi" itemprop="review" itemscope itemtype="http://schema.org/Review" >
    <div class="testi_wrap">

        <div class="new_new_testimonial_one">
            <img itemprop="image" src="https://asphaltthemes.com/wp-content/uploads/2017/06/lady.jpg" alt="Tar Pro WordPress theme customer testimonial">
        </div>

        <div class="new_new_testimonial_two" itemtype="http://schema.org/Product">
            <cite itemprop="reviewBody" itemprop="itemReviewed">Thank you for the wonderful customer service you provided! I was anxious about getting my website launched, and had several questions that you answered for me quickly and thoroughly. In a time where quality customer service seems to be a rarity, you stood out. I know that if I have to reach out to you about anything regarding my site in the future, you will be there to assist me almost immediately. THANK YOU!
            </cite>
            <p itemprop="author">- Laura Byrne / <a itemprop="url" target="_blank" href="https://www.facebook.com/LauraByrneStudios">Laura Byrne Studios</a></p>    
        </div>

    </div>
</section>
<!-- testimonial END -->

<!-- testimonial start-->
<div class="customer_testimoinal cst_test" itemprop="review" itemscope itemtype="http://schema.org/Review" >
    <cite itemprop="reviewBody" itemtype="http://schema.org/Product" itemprop="itemReviewed">Love this theme! Very easy to set up and customize, a LOT of great features – especially for the home page. Every request or question I’ve had has been addressed within 24 hours of sending an email, and the responses have been very helpful.</cite>
 <div>
    <img itemprop="image" src="https://asphaltthemes.com/wp-content/uploads/2017/06/KcvanHout-300x260-1-1.jpg" alt="Tar Pro WordPress theme customer testimonial">
 </div>
 <p>- <a itemprop="author" itemprop="url" href="https://wordpress.org/support/topic/great-super-responsive-to-requests/">Kelly Vanhout</a></p>
</div>
<!-- testimonial END -->

Есть идеи, как это решить?

1 Ответ

0 голосов
/ 02 ноября 2018

Вы используете два атрибута itemprop для одного и того же элемента (что недопустимо), и вам не хватает атрибута itemscope (если вы используете атрибут itemtype):

<cite itemprop="reviewBody" itemtype="http://schema.org/Product" itemprop="itemReviewed">
<cite itemprop="reviewBody" itemprop="itemReviewed">

То, что вы хотите вместо этого, выглядит примерно так:

<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product">
  <!-- an item value; you can use properties (itemprop) inside this 'div' -->
</div>
<p itemprop="reviewBody">
  <!-- a text value -->
</p>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...