Two Opengraph Descriptions
-
Hey guys, so two opengraph descriptions are included in my site’s head. The crappy, automatically generated one is overriding the one I’m specifying with Yoast.
Cursory research found that Jetpack snuck in OG tags and that there’s no easy way to turn them off. So I added two different lines of code that I had seen suggested:
add_filter('jetpack_enable_open_graph', '__return_false', 99);add_filter('jetpack_enable_opengraph', '__return_false', 99);Neither has worked — the redundant (and ugly) description still shows up in my head, and worse, it’s still the one Facebook wants to use. Oh I also installed the “Remove Jetback Opengraph Tags” plugin with no luck.
Either Jetpack isn’t my problem (but I don’t think I have any other plugins that would add OG markup) or the code/plugin isn’t working. Kind of at a loss. Help?
You can see all the markup with the rich snippet tool; the egregious description is at the very bottom.
Thanks!
The topic ‘Two Opengraph Descriptions’ is closed to new replies.