Movie review rich snippets?

#20563
  • Resolved Chrop
    Rank Math free

    Hey RM,
    I’m having an issue with choosing the appropriate rich snippet category now that the ‘review’ section has gone. Nothing really works for Movies now as far as I can see it. ‘Product’ contains far too much mandatory information that just isn’t relevant and the suggested ‘article’ option doesn’t include a rating system.

    Is there a way we can add custom snippet categories etc in? Will support for movies in the same manner of books be coming in a future update?

    Also, since I already have a rudimentary star rating system done with emojis, is there an option to not show the review snippet (or edit it so that I can replace my current layout with one almost identical).

    Cheers!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    In this use case, I can suggest that you make use of the following filter to generate custom schema data for the movies rich snippet:

    /**
     * Collect data to output in JSON-LD.
     *
     * @param array  $unsigned An array of data to output in json-ld.
     * @param JsonLD $unsigned JsonLD instance.
     */
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	return [];
    }, 10, 2);

    We already have plans to introduce more schema types in future and hopefully this will be available sometime soon.

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘Movie review rich snippets?’ is closed to new replies.