• Resolved motionskicken

    (@motionskicken)


    Hi,

    I have problems that Google displays a wrong date snippet in the search results. I couldn’t understand where the date came from until I, after some googling and testing, noticed that Google uses the date from the latest published Review which is quiet annoying if you e.g. are hosting an event once a year and then the date from the review for last years event is shown in the search snippet. Is there a way to change/remove datePublished for the reviews?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support pear8398

    (@pear8398)

    Hi,

    Thank you for using CusRev.

    Our plugin does not support an option to remove the date publish of reviews. If you are familiar with coding, you can follow this solution How to Override Default Templates
    to know how to override the default templates of our plugin.

    Or use this custom CSS code to hide the date

    #reviews .commentlist li p.meta time.woocommerce-review__published-date {
        display: none;
    }

    Let me know if it helps.

    Thread Starter motionskicken

    (@motionskicken)

    Hi,

    Thanks for the reply, but the CSS only hides it from the website and not from Google’s crawling, right?

    In the Override template, which template contains the datePublished that i need to copy to the child theme?

    BR

    Plugin Support pear8398

    (@pear8398)

    Hi,

    Thanks for your additional information.

    >> Thanks for the reply, but the CSS only hides it from the website and not from Google’s crawling, right?
    I think yes. You can also read more on these URLs
    https://bayareaseosolutions.com/2015/11/30/does-google-crawl-css-displaynone-content/
    https://pageoptimizer.pro/will-google-index-content-hidden-by-css/
    You can also contact Google support for more information.

    >> In the Override template, which template contains the datePublished that i need to copy to the child theme?
    You can take a look at two files
    wp-content/plugins/customer-reviews-woocommerce/templates/review-meta.php
    wp-content/plugins/customer-reviews-woocommerce/templates/cr-review.php
    and see if it helps.

    Thread Starter motionskicken

    (@motionskicken)

    Hi,

    ok thanks!
    How would overriding the template affect Google Crawling? Would Google still find the datePublished?

    Plugin Support pistachio6321

    (@pistachio6321)

    Could you please clarify if you refer to the ‘datePublished’ property from Schema.org or to the html element which is showing the date when a review was published?

    Plugin Support bagel1317

    (@bagel1317)

    We haven’t heard from you for more than two weeks. For this reason, I’ll assume that either you are not interested in this question/problem anymore or it has been resolved. If you still require any help, please start a new forum topic.

    Hi there,

    Trying to hide the date for submitted reviews using the css code snippet provided in the thread – however it is not working. Are there alternatives or has there been an update in the backend affecting this snippet?

    #reviews .commentlist li p.meta time.woocommerce-review__published-date { display: none; }

    Thanks

    Terry

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove datePublished’ is closed to new replies.