No stars rating is shown when using the book schema

#512132
  • Resolved Topfgartenwelt
    Rank Math free

    Hi, I’m using rankmath for a long time and there was never a problem with the Book Review Schema. But for my new book review the stars I have given, are not shown in the blogpost. Maybe you can help me?

    Greetings Kathrin

Viewing 11 replies - 1 through 11 (of 11 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with your book review rating not showing on your website.

    Please verify that you have set the value for the star rating in your schema. If that does not work, please delete the book schema and re-add it to your post. If re-adding the schema does not work, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Deleting and re-adding the book-schema doesn’t solve the problem. That was the first I have tried before contacting you. Also after updating Rank Math the problem remains. The stars are not shown, the publishing date is wrong and I’m not able to mention the author of the book. Also instead the book format a link to schema-org is shown.

    Can you provide me an email-adress so that I can create a login without password for you?

    Greetings Kathrin

    Could you already find the reason for the problems?

    Greetings Kathrin

    Hello,

    I was able to check that the rating field was empty and there were some additional fields in the Schema that shouldn’t be there and you had added the rating inside one of those fields. I reapplied the Books Schema and now the ratings are working fine.

    Please check and let us know if you need any other assistance.

    Hallo Jaideep,

    thank you for your reply. The stars are working now, but I didn’t leave the field for the stars empty 🙁

    Author of the book is Martina Liel and not Topfgartenwelt that would be me:

    Author Name
    The next required field is Author Name, where you need to add the author of this book. Rank Math pulls the author’s name from the post through the variable %name%, and you may have to change it if the author of the book is someone else. But it isn’t possible to change it 🙁

    The date the book was published was not 2023-01-17 but 2017-03-02. Rank Math always takes the current date, why?

    Date Published
    You can choose the first publication date of this edition by clicking the date picker.

    And is it possible that RankMath doesn’t duplicate the text and picture for the schema?

    Hello,

    I can check that you were able to add the author’s name to the Schema. For the date, it seems like a bug in our plugin and I have informed the devs. We will inform you here once this is fixed. And to hide the description and image, please use the following CSS:

    .rank-math-review-data p:first-of-type, .rank-math-review-image {
      display: none!important;
    }

    Hope that helps. Let us know if you need any other assistance.

    Thank you very much for the code. Does the code only hide the picture and the text? Because so far I know, the review stars must be shown otherwise Google’s guidelines are violated? To hide the rest is ok for google?

    Maybe you can give me an advise where I should put the code that it works?

    Sorry and I have another question the field author duplicates when I set the ISBN and the form of the book. It looks a little bit confusing. It would be ok if the edition would have another author but that is not the case, it is the same.

    Greetings Kathrin

    Hello,

    Yes, the code will only hide the description and the image. You can add the code to WP Dashboard > Appearance > Customizer > Additional CSS.

    Since all other info is already present on the page, it is completely fine to hide all other data from the Schema output and only keep the stars. To do that, instead of using the code shared before, you can use the following one:

    .rank-math-review-data p, .rank-math-review-image, .rank-math-title{
      display: none!important;
    }

    And we have already logged the improvement to remove the duplicate author if it is the same for the original book and the edition. We will inform you of that too once this is implemented in our plugin.

    Hope that helps. Let us know if you need any other assistance.

    Thank you very much for your quick reply. Google’s Guidelines for structured data include that the content used for the structured data must not be hidden.

    Google Guidelines

    If I would use the css, I would violate that Google Guideline. Is there no other solution to avoid the duplication?

    Greetings Kathrin

    Hello,

    As we mentioned before, the data is present on the page in other formats so just showing the star ratings won’t incur into any penalty for your website.

    The guidelines don’t specify how you should have the data, so it can be added the way you are adding it right now, and just keep the stars from our plugin.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    Thank you for your patience.

    Just a quick update that we have released a stable version that includes a fix on this issue.

    Please update Rank Math & all other plugins, themes and WordPress to the latest version.

    The issue should be fixed.

    If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘No stars rating is shown when using the book schema’ is closed to new replies.