Snippet in recipe–shortcode doesn’t work

#22018
  • Resolved Fresh Collective Co
    Rank Math free

    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.

    ​​​​​​​

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

The ticket ‘Snippet in recipe–shortcode doesn’t work’ is closed to new replies.