This is a tutorial on how to disable Jetpack open graph tags.
Jetpack is a powerful WordPress plugin with a handy set of features. It’s latest release added Publicize which provides a set of means to connect your WordPress site to popular social networks and automatically share new posts with friends and followers via Facebook, Twitter, Tumblr, Yahoo!, and Linkedin. There is just one problem, Jetpack screws up your Open Graph data.
I like to use a plugin called Yoast’s WordPress SEO to manage the open graph data. With the latest version of Jetpack installed, the open graph info generated by Jetpack causes posts metadata to be incorrectly displayed. And since there is no way to disable Jetpack’s implementation of open graph data you will have to do it yourself. Here is how you do it.
How to disable Jetpack open graph tags
To remove Jetpack’s open graph tags, open up your theme’s functions.php file and paste the following code
// remove jetpack open graph tags remove_action('wp_head','jetpack_og_tags');
That’s all you have to do.