Rich Snippets Stars to all Posts automatically

#33321
  • Resolved Schlafzimmer
    Rank Math free

    We would like to give all posts a star rating. But without editing every single post, but giving all 5 stars at once. Is this possible with a code or how can I implement it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math today.

    I am afraid that even though you can use a code snippet to assign schema to your pages, you have to resave each post for Rank Math to generate the schema data from your post data.

    Please note that the rating schema is not available for all schema types, your posts will need to have one of the following schema types assigned:

    – Book
    – Course
    – Event
    – Product
    – Recipe
    – Software Application

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello Michael,

    tell me pls is there a code that safes all posts at once one time?

    Hi,

    Thanks for getting back to us.

    All the schema data is saved in the postmeta table of your database but each rich snippet type has unique fields.
    If you are up to the task you can create a query to fetch all your posts and update the meta values.

    I hope this info helps. Thank you.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Rich Snippets Stars to all Posts automatically’ is closed to new replies.