HowToStep in Recipe's schema

  • Hey,

    I’ve just started to use RankMath and I love the fact that it has built-in Schema markup. So I wanted to make a suggestion to improve that even more.

    That is to add HowToStep items in the recipeInstructions parameter of Recipe’s schema since this is the recommended format from Google: “For best results, we recommend you unambiguously specify individual step sentences with HowToStep, as described above”. It’s also clearer way of defining the steps than just a text block.

    Hope this helps,

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

    Thank you for contacting Rank Math today.

    This is a great suggestion and I would be happy to pass this on to our dev team.
    At the moment, you can extend the recipe snippet by making use of the following filter:

     * 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);

    Looking forward to helping you. Thank you.


    Thanks for that!

    Hi Julian,

    Awesome! Feel free to contact us for any other questions, comments or suggestions.

    Thank you.


    Rank Math has an option to add the HowToStep items. Please see this screencast:

    Is this not working for you?

    Looking forward to helping you. Thank you.

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

The ticket ‘HowToStep in Recipe's schema’ is closed to new replies.