XHanch Studio Log in | Register | Cart

Forum

[How to] Disable/hi...
 
Notifications
Clear all

[How to] Disable/hide WordPress Jetpack opengraph meta tags

2 Posts
2 Users
0 Likes
1,038 Views
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
Topic starter
 

When you enabled/activated the WordPress Jetpack plugin, it will add some opengraph meta tags to site header like:

<meta property="og:type" content="article" />
<meta property="og:title" content="Test" />
<meta property="og:url" content=" http://www.example.com/test/" />
<meta property="og:description" content="" />
<meta property="og:site_name" content="Example" />

So, if you wan to disable/hide this, you can simply add this code to your WordPress theme's functions.php:

<?php remove_action('wp_head', 'jetpack_og_tags'); ?>
 
Posted : 05/03/2013 5:32 pm
(@vickn)
Posts: 5
Member
 

Hi, what if I want to keep the og meta tags but with the contents of the respected manga pages

 
Posted : 20/04/2013 3:25 pm
Share:

× Close Menu