• Resolved questionabout

    (@questionabout)


    Hi, I noticed that richsnipped tool by google find many errors and information that is not needed like author’s image, author’s name, date etc. Is it possible to remove it?
    I am not good in php; however, I was able to remove:

    <div class="comment-author vcard">
    
                                            <?php echo get_avatar( $comment->comment_author_email, 65 ); ?>
    
                                            <?php printf( '<span class="author">— %1$s</span>', get_comment_author_link() ); ?>
    
                                            </div>

    from class-woocommerce-product-faqs.php

    and this:
    echo '<span itemprop="comment" itemscope itemtype="http://schema.org/UserComments"' . link to schema I was able to remove from loop=faqs.php, but some data I just have no clue how to remove:
    name and commenttime
    I also get an error in richsnippet preview:
    “Error: Page contains property “comment” which is not part of the schema.
    Error: Page contains property “creator” which is not part of the schema.”

    Please let me know what files can I edit and what code to remove.

    Reason why I am doing this is google recently stopped showing rich snippets for my products, it doesn’t show price, reviews and stock info in search results, so I decided to do some clean up on that part of the store.
    Thanks!!!

    https://wordpress.org/plugins/woocommerce-product-faqs/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘remove rich snippets from plugin’ is closed to new replies.