[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[Rank Math SEO Plugin] Social Media plugin to use with Rank Math


admin257
 Share

Recommended Posts

  • Support

Hello,

Thank you for contacting MyThemeShop today.

Rank Math plugins adds all the needed tags to share posts on Facebook & Twitter. Still, if you are going to use another plugin, then please add below code in your theme's functions.php file to remove the open graph and Twitter tags so it would not conflict with another plugin:

add_action( 'rank_math/head', function() {
    remove_all_actions( 'rank_math/opengraph/facebook' );
    remove_all_actions( 'rank_math/opengraph/twitter' );
});

Hope that helps. If there is anything else, please let us know.

Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...