Hi! I'm using the wordpress jetpack plugin and it's publicize feature. When activating this feature, it automatically adds opengraph tags to the page and there is no option to deactivate it.
Because your theme adds opengraph tags, too, facebook sometimes has problems parsing the page.
I added the following code in the themes functions.php
That leads to the opengraph tags not beeing added by the jetpack plugin. I think for people using the jetpack plugin, it would be great if you add it to your code :)
Hi! I'm using the wordpress jetpack plugin and it's publicize feature. When activating this feature, it automatically adds opengraph tags to the page and there is no option to deactivate it.
Because your theme adds opengraph tags, too, facebook sometimes has problems parsing the page.
I added the following code in the themes functions.php
add_filter( 'jetpack_enable_open_graph', '__return_false' );
before this code at the end of the file:
add_action( 'wp_head', 'add_opengraph', 5 );
That leads to the opengraph tags not beeing added by the jetpack plugin. I think for people using the jetpack plugin, it would be great if you add it to your code :)
Hey Niklas! Thanks for pointint this out - i'll handle it in the next minor update :)
Cheers
Thanks :)