My site theredshtick.com is generating open graph data even when I have all plugins deactivated, which creates a conflict when I activate my SEO plugin. I’d rather the plugin create the OG tags since it uses the full-sized feature image for the og:image tag rather than the thumbnail (150×150) size.
If you want to remove graph tags in the site. Please open the function.php file, remove code from line 474 to line 496.
See the screenshot:
I’m trying to delete the open graph code on the DW fcus template. We use Jetpack to push our content to Facebook and other social media. Since DW Focus AND JetPack has Open Graph tags, it’s making FB mad and not showing our posts correctly (The image to be exact). What code would we need to remove? The code above is NOT in my functions.php file. Thanks
Add this line to your functions.php file (preferably at the very bottom)
add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );
Hope this helps !
Please login or Register to submit your answer