How to Prevent JetPack from Doubling OpenGraph Tags in WordPress Header

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. Thats what I recently noticed.

NOTE:

Even though they tried to fix this in v2.0.3, this problem still exists.

Example: OpenGraph Tags in header:

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.

1

2

// remove jetpack open graph tags

remove_action('wp_head','jetpack_og_tags');

That’s all.. And you should be all set.

Join the Discussion

Share & leave us some comments on what you think about this topic or if you like to add something.

About App Shah

I'm an Engineer by profession, Blogger by passion & Founder of Crunchify, LLC, the largest free blogging & technical resource site for beginners. Love SEO, SaaS, #webperf, WordPress, Java. With 14 millions+ pageviews/month, Crunchify has changed the life of over thousands of individual around the globe teaching Java & Web Tech for FREE. Get latest update on and .

Subscribe To Newsletter…

Get Early Access To New Articles, Plugins, Discount Codes And Brief Updates About What's New With Crunchify! Join Over 14 Million Monthly Readers...

Absolutely anyone is welcome to submit a comment here. All submitted comments will be reviewed. It should be on-topic & helpful. Don’t use keywords or backlinks. Let’s have a personal & meaningful conversation.