Deactivate Thumbnail Feature

  • Hello,

    i am using Rank Math for all my SEO stuff on our Newsblog, but next to this Plugin I use “Open Graph for Facebook” just for one reason. This Plugin allows us to overlay a PNG with our Logo on all our Thumbnails.

    Now because of the two plugins, Facebook, iMessage, ect. are showing two Thubnails, one with the overlay from “Open Graph” and one without created from “Rank Math”.

    Is it possible to deactivate the creation of social thumbnails on all pages in RankMath? Or is there even the possibility to add overlays with the existing plugin?

    Preview in iMessage
    Preview of Thumbnail on Facebook with overlay

Viewing 1 replies (of 1 total)
  • Hello,

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

    Rank Math also comes with a feature to add icon overlays to OG images and you can access this feature from the RM metabox > Social tab when editing the post. I can suggest that you disable the option to add Rank Math OG tags by adding the following code to your theme’s functions.php file:

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    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 ‘Deactivate Thumbnail Feature’ is closed to new replies.