Snippet in recipe–shortcode doesn’t work

  • Hello
    The snippet is appearing in the recipe post despite using the shortcode as advised in response to another user’s similar question (“Kiva”). We would like to continue using RankMath but this does not look professional in the post. Please advise.

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

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Once the custom option is selected, you do not need to use the shortcode. This makes it optional as opposed to having the schema appearing on top or bottom of the post.
    You can also add the following code snippet on your theme’s functions.php file to remove the schema data on your posts:

    /**
     * Filter: Allow disabling the review display.
     *
     * @param bool $return true to disable.
     */
    add_filter( 'rank_math/snippet/review/hide_data', '__return_true' );

    Looking forward to helping you. Thank you.

    ​​​​​​​

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

You must be logged in to reply to this ticket.