Snippet info showing in my actual page?

#98379
  • Resolved Fjr
    Rank Math free

    Hey! I added a rich snippet to my page and it is actually displaying at its bottom! What? How? Any help?
    image

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael Davis
    Rank Math pro

    Hello,

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

    Have you used the shortcode on your page?

    Could you please add the following code to your theme functions.php file and let us know if it resolves your issue?

    
    /**
     * 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.

    ​​​​​​​

    Fjr
    Rank Math free

    I have not used any shortcode.
    It works! But I find it strange that I have to add code to hide it…

    Michael Davis
    Rank Math pro

    Hello,

    We are glad this is resolved.

    This can be added to your post content depending on your schema settings.

    Hope that helps. If you have any further question(s), please let us know. 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 ‘Snippet info showing in my actual page?’ is closed to new replies.